mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-12-02 08:49:13 +00:00
19 lines
432 B
C#
19 lines
432 B
C#
using UnityEngine;
|
|
|
|
namespace SanAndreasUnity.Utilities
|
|
{
|
|
|
|
public interface IState {
|
|
|
|
void OnBecameActive();
|
|
void OnBecameInactive();
|
|
bool RepresentsState(System.Type type); // TODO: should be removed
|
|
bool RepresentsState<T>() where T : IState; // TODO: should be removed
|
|
void UpdateState();
|
|
void LateUpdateState();
|
|
void FixedUpdateState();
|
|
|
|
object ParameterForEnteringState { set; }
|
|
}
|
|
|
|
}
|