Esempio n. 1
0
    // Start is called before the first frame update
    private void Start()
    {
        eventManager = new CardEventManager(GetComponent <PlayerController>());

        posList = new TrackList(transform.position);
        current = posList.CenterPosition;
        target  = posList.CenterPosition;

        onComplete += eventManager.FinishedAction;
    }
Esempio n. 2
0
 public void Clicked()
 {
     CardEventManager.SetPlayerCardActive(_card);
 }