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); } }
private void OnMouseUp() { BattleActionManager.Click(_meEntity); }