添加缺失插件
This commit is contained in:
26
Assets/Asset Usage Finder/Editor/Styles/WindowStyleAsset.cs
Normal file
26
Assets/Asset Usage Finder/Editor/Styles/WindowStyleAsset.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using UnityEditor;
|
||||
using UnityEditorInternal;
|
||||
using UnityEngine;
|
||||
|
||||
namespace AssetUsageFinder.Styles {
|
||||
class WindowStyleAsset : ScriptableObject {
|
||||
#pragma warning disable 0649
|
||||
public DependencyWindow.Style Pro;
|
||||
public DependencyWindow.Style Personal;
|
||||
#pragma warning restore
|
||||
|
||||
#if !false
|
||||
[CustomEditor(typeof (WindowStyleAsset))]
|
||||
class Editor : UnityEditor.Editor
|
||||
{
|
||||
public override void OnInspectorGUI()
|
||||
{
|
||||
EditorGUI.BeginChangeCheck();
|
||||
base.OnInspectorGUI();
|
||||
if (EditorGUI.EndChangeCheck())
|
||||
InternalEditorUtility.RepaintAllViews();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user