Ejemplo n.º 1
0
    // main event
    void Start()
    {
        StartInit();

        if (!gameController)
        {
            gameController = GameController_TapToKill.Instance;
        }
    }
Ejemplo n.º 2
0
    protected override void Start()
    {
        base.Start();

        if (!gameController)
        {
            gameController = GameController_TapToKill.Instance;
        }
    }
Ejemplo n.º 3
0
 // main event
 void Awake()
 {
     // activate instance
     if (Instance == null)
     {
         Instance = this;
     }
     else if (Instance != this)
     {
         Destroy(gameObject);
     }
 }