Files
2024-11-20 15:21:28 +01:00

15 lines
318 B
C#

using UnityEngine;
using UnityEditor;
namespace LuxURPEssentials
{
[CustomEditor(typeof(Decal))]
public class DecalEditor : Editor {
public override void OnInspectorGUI() {
Decal script = (Decal)target;
if (GUILayout.Button("Align")) {
script.AlignDecal();
}
}
}
}