Exemplo n.º 1
0
        static void MenuDoExportStlAscii()
        {
            ExportStlAscii instance = EditorToolbarLoader.GetInstance <ExportStlAscii>();

            if (instance != null)
            {
                UnityEditor.ProBuilder.EditorUtility.ShowNotification(instance.DoAction().notification);
            }
        }
Exemplo n.º 2
0
        static bool MenuVerifyExportStlAscii()
        {
            ExportStlAscii instance = EditorToolbarLoader.GetInstance <ExportStlAscii>();

            return(instance != null && instance.enabled);
        }