MoTaForPSVita/Assets/Scripts/Controller/Actor/ActorController.cs

23 lines
525 B
C#
Raw Normal View History

2024-04-30 17:39:50 +08:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ActorController : ResourceController, IInteraction
{
protected Animator _animator;
protected void Awake()
{
_animator = GetComponent<Animator>();
}
public virtual bool Interaction() { return false; }
public void DisableSelf()
{
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
GameManager.Instance.PlayerManager.Enable = true;
GameManager.Instance.PoolManager.RecycleResource(gameObject);
}
}