Esempio n. 1
0
    public override void Enter()
    {
        GameObject gameObject = new GameObject();
        BattleMB   battleMb   = gameObject.AddComponent <BattleMB>();

        battleMb.Init(Enemies);
        BattleActionManager.CheckSpellsUsable();
    }
Esempio n. 2
0
 private void OnMouseUp()
 {
     _dragging = false;
     if (transform.position.y > 3 && BattleActionManager.State == BattleActionState.SelectCard)
     {
         BattleActionManager.Click(this);
         _targetPos = new Vector3(8, 3, -0.5f);
     }
     else
     {
         BattleActionManager.ClearActive();
         Deck.InsertIntoHand(this);
         transform.localScale = new Vector3(0.25f, 0.25f, 1);
     }
 }
Esempio n. 3
0
 private void OnMouseUp()
 {
     BattleActionManager.Click(_meEntity);
 }