Esempio n. 1
0
 void Awake()
 {
     if (Instance != null) {
         Destroy(gameObject);
         return;
     }
     Instance = this;
 }
Esempio n. 2
0
 public void TestSetup()
 {
     game = new Game();
     game.SetPlayerPosition(new Point(10, 20));
 }