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.
CrowdControl/Assets/3rd/D2D_Scripts/Tools/Editor/AssetsPaletteEditor.cs

21 lines
508 B
C#

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();
}
}
}