コード例 #1
0
    public void Awake()
    {
        if (_instance == null)
            _instance = this;

        gameDataController = new GameDataController();
        gameDataController.LoadGameData();
    }
コード例 #2
0
    // Init the game.
    public void Awake()
    {
#if ONLINE
        NetworkRequestController.registerUserDevice();
#endif
        InitConstantData();
        GameDataController.LoadGameData();
        SetCanvas(playPageCanvas);
    }