// 处理动画 public virtual void Handle(BattleControl battleControl, BaseAction action) { this.battleControl = battleControl; roomUI = battleControl.roomUI; this.action = action; InitHandle(); StartCoroutine(_Handle()); }
void Awake() { roomUI = gameObject.GetComponent <BattleRoomUI>(); }
void Awake() { roomUI = gameObject.GetComponent <BattleRoomUI>(); battleControl = gameObject.GetComponent <BattleControl>(); }