Move.cs 423 B

123456789101112131415161718192021222324
  1. using UnityEngine;
  2. using System.Collections;
  3. using UnityEngine.Events;
  4. public abstract class Move
  5. {
  6. #region 变量
  7. protected virtual bool InDestination
  8. {
  9. get { return _InDestination; }
  10. set { _InDestination = value; }
  11. }
  12. protected bool _InDestination;
  13. public UnityAction OnForwardStart;
  14. public UnityAction OnForwardFinish;
  15. #endregion
  16. public abstract bool Do();
  17. }