// Token: 0x06005745 RID: 22341 RVA: 0x001E0D78 File Offset: 0x001DF178
    private void Awake()
    {
        UnityEngine.Debug.developerConsoleVisible = true;
        if (VRCApplicationSetup._instance != null && VRCApplicationSetup._instance != this)
        {
            UnityEngine.Debug.Log("Destroying me.");
            UnityEngine.Object.Destroy(VRCApplicationSetup._instance);
        }
        VRCApplicationSetup._instance   = this;
        VRCApplicationSetup.commandLine = base.GetComponent <VRCFlowCommandLine>();
        VRCFlowManager component = base.gameObject.GetComponent <VRCFlowManager>();

        if (component != null)
        {
            component.enabled = true;
        }
        VRCApplication.AppType          = this.appType;
        VRCApplication.appVersion       = this.appVersion;
        VRCApplication.shouldAutoUpdate = this.shouldAutoUpdate;
        ApiModel.SetApiUrlFromEnvironment(this.ServerEnvironment);
        VRCApplicationSetup._sMimicStandaloneBuild = this.MimicStandaloneBuildSettingsInEditor;
        string empty = string.Empty;

        VRCApplication.clientId = this.clientId;

        UnityEngine.Debug.Log("Client ID: " + VRCApplication.clientId);
        UnityEngine.Debug.Log("Prefix: " + empty);
        VRCApplication.clientVersion = empty + this.appVersion;
        VRCApplication.clientVersion = empty + "w_" + this.appVersion;
        VRCApplicationSetup.commandLine.ReadCommandLine();
        PhotonCustomTypes.Register();
        PhotonNetwork.networkingPeer.ChannelCount = 51;
        this.InitVRSDK();
    }
Beispiel #2
0
 static void smethod_14(VRCFlowManager vrcflowManager_0, string string_1, Action <string> action_0)
 {
     vrcflowManager_0.EnterRoom(string_1, action_0);
 }