67 lines
915 B
C#
67 lines
915 B
C#
using UnityEngine;
|
|
using OHM.UnityToolkit;
|
|
using UnityEngine.Serialization;
|
|
|
|
public class AIBase : CoreBehaviour
|
|
{
|
|
public bool isPhotographer;
|
|
|
|
public float TimeWaitBeforeMove;
|
|
|
|
[SerializeField]
|
|
private Animator anim;
|
|
|
|
[SerializeField]
|
|
private GameObject visual;
|
|
|
|
[SerializeField]
|
|
private MovingPlatforme MovingPlatforme;
|
|
|
|
[SerializeField]
|
|
[FormerlySerializedAs("soundFX")]
|
|
private SFX _soundFX;
|
|
|
|
private CoreController coreController;
|
|
|
|
private Vector3 startRot;
|
|
|
|
private Vector3 _inverseStartRot;
|
|
|
|
private Vector3 lastPos;
|
|
|
|
public bool isActive { get; private set; }
|
|
|
|
private void Awake()
|
|
{
|
|
}
|
|
|
|
private void Start()
|
|
{
|
|
}
|
|
|
|
private void OnDestroy()
|
|
{
|
|
}
|
|
|
|
private void Update()
|
|
{
|
|
}
|
|
|
|
public void StopAI()
|
|
{
|
|
}
|
|
|
|
public bool PlayerIsCatch(RichManagePlayer richManagePlayer, Rigidbody body)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
private void SetDirLookAt(Vector3 dir)
|
|
{
|
|
}
|
|
|
|
public void OnRevive()
|
|
{
|
|
}
|
|
}
|