/// <summary> /// 初期設定を行います。 /// </summary> public virtual void Awake() { if (!NCMBSettings._isInitialized) { NCMBSettings._isInitialized = true; _responseValidationFlag = responseValidation; DontDestroyOnLoad(base.gameObject); NCMBSettings.Initialize(this.applicationKey, this.clientKey, this.domainURL, this.apiVersion); //NCMBSettings.RegisterPush(this.usePush, this.androidSenderId, this.getLocation); filePath = Application.persistentDataPath; currentInstallationPath = filePath + "/currentInstallation"; NCMBSettings.RegisterPush(this.usePush, this.useAnalytics, false); } }
/// <summary> /// 初期設定を行います。 /// </summary> public virtual void Awake() { if (!NCMBSettings._isInitialized) { NCMBSettings._isInitialized = true; _responseValidationFlag = responseValidation; DontDestroyOnLoad(base.gameObject); NCMBSettings.Initialize(this.applicationKey, this.clientKey); //NCMBSettings.RegisterPush(this.usePush, this.androidSenderId, this.getLocation); NCMBSettings.RegisterPush(this.usePush, this.androidSenderId, false); filePath = Application.persistentDataPath; base.StartCoroutine(Platform.RunLoop()); } }