Exemple #1
0
 void Awake()
 {
     if (instance != null)
     {
         GameObject.Destroy(this);
     }
     else
     {
         instance = this;
     }
 }
Exemple #2
0
 public void SetTray(CardTray tray, string name)
 {
     _tray = tray;
     _name = name;
 }