mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-12-18 00:13:07 +00:00
19 lines
333 B
C#
19 lines
333 B
C#
|
using UnityEngine;
|
|||
|
|
|||
|
namespace SanAndreasUnity.Utilities
|
|||
|
{
|
|||
|
|
|||
|
public interface IState {
|
|||
|
|
|||
|
void OnBecameActive();
|
|||
|
void OnBecameInactive();
|
|||
|
bool RepresentsState(System.Type type);
|
|||
|
bool RepresentsState<T>() where T : IState;
|
|||
|
void UpdateState();
|
|||
|
void LateUpdateState();
|
|||
|
void FixedUpdateState();
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
}
|