Exemplo n.º 1
0
        private static void SignupForIBMCloud()
        {
            PlayerPrefs.SetInt(WAS_IBM_CLOUD_SIGNUP_PROMPTED, 1);
            PlayerPrefs.Save();

            IBMCloudSignup.OpenIBMCloudWebsite();
        }
Exemplo n.º 2
0
        private static void OpenOnboardingDialog()
        {
            PlayerPrefs.SetInt(WAS_IBM_CLOUD_SIGNUP_PROMPTED, 1);
            PlayerPrefs.Save();

            if (EditorUtility.DisplayDialog(TITLE, SIGNUP_FOR_IBM_CLOUD_MSG, YES, NO))
            {
                IBMCloudSignup.OpenIBMCloudWebsite();
            }
            else
            {
                EditorUtility.DisplayDialog(TITLE, MENU_ITEM_MSG, OK);
            }
        }