17 lines
398 B
C#
17 lines
398 B
C#
|
|
using System.Collections;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using UnityEngine;
|
|||
|
|
using UnityEngine.SceneManagement;
|
|||
|
|
|
|||
|
|
public class FaceController : MonoBehaviour
|
|||
|
|
{
|
|||
|
|
void Update()
|
|||
|
|
{
|
|||
|
|
if (Input.GetMouseButtonDown(0))
|
|||
|
|
{
|
|||
|
|
OpenAp.faceOpened = false;
|
|||
|
|
SceneManager.UnloadSceneAsync("Rosto", UnloadSceneOptions.UnloadAllEmbeddedSceneObjects);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|