コード例 #1
0
ファイル: GPGSAndroidSetupUI.cs プロジェクト: QuantVm/Rubik
        /// <summary>
        /// Called when this object is enabled by Unity editor.
        /// </summary>
        public void OnEnable()
        {
            GPGSProjectSettings settings = GPGSProjectSettings.Instance;

            mConstantDirectory = settings.Get(GPGSUtil.CLASSDIRECTORYKEY, mConstantDirectory);
            mClassName         = settings.Get(GPGSUtil.CLASSNAMEKEY, mClassName);
            mConfigData        = settings.Get(GPGSUtil.ANDROIDRESOURCEKEY);
            mWebClientId       = settings.Get(GPGSUtil.WEBCLIENTIDKEY);
        }
コード例 #2
0
        /// <summary>
        /// Called when this object is enabled by Unity editor.
        /// </summary>
        public void OnEnable()
        {
            GPGSProjectSettings settings = GPGSProjectSettings.Instance;

            mConstantDirectory  = settings.Get("ConstDir", mConstantDirectory);
            mClassName          = settings.Get(GPGSUtil.CLASSNAMEKEY);
            mConfigData         = settings.Get(GPGSUtil.ANDROIDRESOURCEKEY);
            mWebClientId        = settings.Get(GPGSUtil.WEBCLIENTIDKEY);
            mRequiresGooglePlus = settings.GetBool(GPGSUtil.REQUIREGOOGLEPLUSKEY, false);
        }
コード例 #3
0
 public static void Reload()
 {
     sInstance = new GPGSProjectSettings();
 }
 public static void Reload()
 {
     sInstance = new GPGSProjectSettings();
 }