31 lines
780 B
C#
31 lines
780 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using PuppetFace;
|
|
|
|
public class EyesController : MonoBehaviour
|
|
{
|
|
[SerializeField] EyeMotion eyeMotion;
|
|
//PlayerController playerController;
|
|
|
|
private void Start()
|
|
{
|
|
//playerController = GetComponent<PlayerController>();
|
|
}
|
|
|
|
private void Update()
|
|
{
|
|
//if (PhotomodeManager.GetInstance().photoModeOpen == false)
|
|
//{
|
|
// if (playerController.isMoving || playerController.enabled == false && WorldInteractionManager.GetInstance().IsInteracting == false)
|
|
// {
|
|
// eyeMotion.enabled = true;
|
|
// }
|
|
// else
|
|
// {
|
|
// eyeMotion.enabled = false;
|
|
// }
|
|
//}
|
|
}
|
|
}
|