Example #1
0
    void StartDrive()
    {
        GameDrive gameDrive = goDriver.AddComponent <GameDrive>();

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