示例#1
0
 private void Start()
 {
     // Get instances and start new turn
     audioManager = AudioManager.Instance;
     scoreblock   = Scoreblock.Instance;
     menuManager  = MenuManager.Instance;
     NewTurn();
 }
示例#2
0
 private void Awake()
 {
     // Instance set up
     if (Instance == null)
     {
         Instance = this;
     }
     else
     {
         Destroy(gameObject);
     }
 }