public GlobalChangeController globalChangeController;//观察目标 public virtual void Start() { globalChangeController = GlobalChangeController.GetInstance(); }
//动画结束后进行结算 public void AttackFly(ITarget t, IAttackResultMode m, float attackValue) { PlayAnimation(); GlobalChangeController.GetInstance().StartCoroutine(t.AttackReach(m, attackValue, null, startPosition)); }