IState.cs 281 B

12345678910111213
  1. using System;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using Core.State;
  5. using UnityEngine;
  6. public interface IState: IDisposable
  7. {
  8. void Enter(IStateEnterData iStateEnterData);
  9. void Update(float t);
  10. void Exit();
  11. bool IsSwitch(IState nextState);
  12. }