예제 #1
0
 protected override void DrawWidgetFooter(ScriptForgeStyles style)
 {
     if (GUILayout.Button("Documentation", style.button))
     {
         ScriptableForge.OpenDocumentation();
     }
 }
        private static void Initialize()
        {
            var instance = GetInstance();

            if (instance == null)
            {
                Debug.Log("Unable to load or create Scriptable Forge instance");
            }

            if (!EditorPrefs.HasKey(FIRST_LAUNCH_KEY))
            {
                EditorPrefs.SetBool(FIRST_LAUNCH_KEY, true);
                ScriptableForge.OpenDocumentation();
            }
        }