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

        this.action = action;

        InitHandle();

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

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