Example #1
0
 public virtual void Init(EncounterController encounterController, CardDeck[] decks, EncounterPhase[] phases)
 {
     this.encounterController = encounterController;
     this.decks  = decks;
     this.phases = phases;
     phaseIndex  = 0;
 }
Example #2
0
 private void Awake()
 {
     if (instance == null)
     {
         instance = this;
     }
     else
     {
         Destroy(gameObject);
     }
 }