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();*/ }
private static void SRPChanged() { unsupportedSRPWarningIssued = false; OnSRPChanged?.Invoke(); VFXAssetManager.Build(); }