You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.2 KiB
44 lines
1.2 KiB
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace UnityEditor.VFX
|
|
{
|
|
class VFXDebugWindow : EditorWindow
|
|
{
|
|
[MenuItem("Window/Visual Effects/VFXEditor Debug Window", false, 3011, true)]
|
|
public static void OpenWindow()
|
|
{
|
|
GetWindow<VFXDebugWindow>();
|
|
}
|
|
|
|
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();*/
|
|
}
|
|
|
|
static class Contents
|
|
{
|
|
public static GUIContent title = new GUIContent("VFX Debug");
|
|
}
|
|
}
|
|
}
|