SanAndreasUnity/Assets/Scripts/Utilities/IState.cs

19 lines
333 B
C#
Raw Normal View History

2020-05-31 17:07:22 +00:00
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();
}
}