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