Beispiel #1
0
    void Start()
    {
        Input.multiTouchEnabled = false;

        // 1. Load GameConfigs
        // 2. Set PlayerStatus
        if (IsGameInitialize == false)
        {
            GameConfigs.LoadConfigs();
            PlayerManager.Instance().InitializePlayer();
            PlayerManager.Instance().PlayMode = GameConfigs.GetLastPlayMode();

            IsGameInitialize = true;
        }

        InitializeFireBase();
        InitializeGoogleAds();

        EffectManager.GetInstance();

        //Time_LatestStartGame = DateTime.UtcNow;

        //Screen.SetResolution(720, 1280, true, 60);
    }