SanAndreasUnity/Assets/Scripts/Utilities/IState.cs
2021-09-20 00:44:31 +02:00

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; }
}
}