AbstractExistSafetyAreaSpecialState.cs 446 B

1234567891011121314151617181920
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public abstract class AbstractExistSafetyAreaSpecialState<T> : IState where T : SafetyAreaBase
  5. {
  6. protected T reference;
  7. public void Init(T reference)
  8. {
  9. this.reference = reference;
  10. }
  11. public abstract void OnStateEnter(object data);
  12. public abstract void OnStateExit(object data);
  13. public abstract void OnStateBreathe();
  14. }