Esempio n. 1
0
        private void OnGUI()
        {
            titleContent = Contents.title;

            EditorGUILayout.LabelField("VFX Assets", EditorStyles.boldLabel);
            using (new GUILayout.HorizontalScope())
            {
                /*if (GUILayout.Button("Clear"))
                 *  VFXCacheManager.Clear();*/

                if (GUILayout.Button("Recompile All"))
                {
                    VFXAssetManager.Build();
                }
            }
            EditorGUILayout.Space();

            /*
             * EditorGUILayout.LabelField("Run VFX Tests", EditorStyles.boldLabel);
             * using (new GUILayout.HorizontalScope())
             * {
             *  if (GUILayout.Button("GUI Tests"))
             *      Test.VFXGUITests.RunGUITests();
             * }
             * EditorGUILayout.Space();*/
        }
Esempio n. 2
0
 private static void SRPChanged()
 {
     unsupportedSRPWarningIssued = false;
     OnSRPChanged?.Invoke();
     VFXAssetManager.Build();
 }