static void SetupAndTour() { GA_SignUp signup = ScriptableObject.CreateInstance <GA_SignUp> (); signup.maxSize = new Vector2(640, 600); signup.minSize = new Vector2(640, 600); signup.titleContent = new GUIContent("GameAnalytics - Sign up for FREE"); signup.ShowUtility(); signup.Opened(); signup.SwitchToGuideStep(); }
static void SetupAndTour() { GA_SignUp signup = ScriptableObject.CreateInstance <GA_SignUp> (); signup.maxSize = new Vector2(640, 480); signup.minSize = new Vector2(640, 480); #if UNITY_UP_TO_5_0 signup.title = "GameAnalytics - Sign up for FREE"; #else Debug.Log("Test"); signup.titleContent = new GUIContent("GameAnalytics - Sign up for FREE"); #endif signup.ShowUtility(); signup.Opened(); signup.SwitchToGuideStep(); }