首次提交
This commit is contained in:
21
Assets/Scripts/Editor/Test/PlayerAnimatorEditor.cs
Normal file
21
Assets/Scripts/Editor/Test/PlayerAnimatorEditor.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using UnityEditor;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
[CustomEditor(typeof(PlayerAnimator))]
|
||||
public class PlayerAnimatorEditor : Editor
|
||||
{
|
||||
private PlayerAnimator _target;
|
||||
|
||||
void OnEnable()
|
||||
{
|
||||
_target = target as PlayerAnimator;
|
||||
// lookAtPoint = serializedObject.FindProperty("lookAtPoint");
|
||||
}
|
||||
|
||||
public override void OnInspectorGUI()
|
||||
{
|
||||
base.OnInspectorGUI();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user