예제 #1
0
 private void OnSelectionComplete(CardPlayZone sendToZone)
 {
     sendToZone.PutOnBottom(selectedCardZone.DrawOneCard());
     _selectedCard = null;
     uiView.SetActive(false);
     onTargetSelectionFinished.Publish();
     battleState.SelectionStarted = false;
 }
예제 #2
0
    protected override void Awake()
    {
        base.Awake();

        if (instance != null)
        {
            Destroy(gameObject);
        }
        else
        {
            instance = this;
        }
    }