Exemplo n.º 1
0
    void StartDrive()
    {
        GameDrive gameDrive = goDriver.AddComponent <GameDrive>();

        if (gameDrive == null)
        {
            return;
        }
        if (gameDrive.GameStart(RunningType) == false)
        {
            Debug.LogError("Game Start Failed");
            return;
        }
    }
Exemplo n.º 2
0
 void Awake()
 {
     s_Instance = this;
 }