Example #1
0
    // 处理动画
    public virtual void Handle(BattleControl battleControl, BaseAction action)
    {
        this.battleControl = battleControl;
        roomUI             = battleControl.roomUI;

        this.action = action;

        InitHandle();

        StartCoroutine(_Handle());
    }
Example #2
0
 void Awake()
 {
     roomUI = gameObject.GetComponent <BattleRoomUI>();
 }
Example #3
0
    void Awake()
    {
        roomUI = gameObject.GetComponent <BattleRoomUI>();

        battleControl = gameObject.GetComponent <BattleControl>();
    }