///---------------------------------------------------------------------
        public static void AddBuilder(PrateekScriptBuilder builder)
        {
            var window = (PrateekScriptBuilderEditorWindow)CreateWindow();

            window.activeCodeBuilders.Add(builder);
            window.startMarkUp = EditorApplication.timeSinceStartup;
        }
Ejemplo n.º 2
0
        ///---------------------------------------------------------------------
        public static PrateekScriptBuilder GetInstance()
        {
            if (editorInstance == null)
            {
                editorInstance = new PrateekScriptBuilder();
            }

            return(editorInstance);
        }