You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
508 B
C#
21 lines
508 B
C#
3 months ago
|
using D2D.Utilities;
|
||
|
using UnityEditor;
|
||
|
using UnityEngine;
|
||
|
|
||
|
namespace D2D.Tools
|
||
|
{
|
||
|
[CustomEditor(typeof(AssetsPalette))]
|
||
|
public class AssetsPaletteEditor : Editor
|
||
|
{
|
||
|
private static readonly string[] DontIncludeMe = {"m_Script"};
|
||
|
|
||
|
public override void OnInspectorGUI()
|
||
|
{
|
||
|
serializedObject.Update();
|
||
|
|
||
|
DrawPropertiesExcluding(serializedObject, DontIncludeMe);
|
||
|
|
||
|
serializedObject.ApplyModifiedProperties();
|
||
|
}
|
||
|
}
|
||
|
}
|