mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-16 08:25:20 +01:00
29 lines
463 B
C#
29 lines
463 B
C#
using UnityEngine;
|
|
|
|
namespace MoleMole
|
|
{
|
|
public abstract class BaseMonoEntity : MonoBehaviour
|
|
{
|
|
protected uint _runtimeID;
|
|
|
|
public abstract Vector3 XZPosition { get; }
|
|
|
|
public abstract float TimeScale { get; }
|
|
|
|
public uint GetRuntimeID()
|
|
{
|
|
return _runtimeID;
|
|
}
|
|
|
|
public abstract bool IsToBeRemove();
|
|
|
|
public abstract bool IsActive();
|
|
|
|
public abstract Transform GetAttachPoint(string name);
|
|
|
|
protected virtual void OnDestroy()
|
|
{
|
|
}
|
|
}
|
|
}
|