add new pack: Editor Attributes, complete GoTo cmd
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
using UnityEngine;
|
||||
using EditorAttributes;
|
||||
|
||||
namespace EditorAttributesSamples
|
||||
{
|
||||
[HelpURL("https://editorattributesdocs.readthedocs.io/en/latest/Attributes/DropdownAttributes/animatorparamdropdown.html")]
|
||||
public class AnimatorParamDropdownSample : MonoBehaviour
|
||||
{
|
||||
[Header("AnimatorParamDropdown Attribute:")]
|
||||
[SerializeField] private Animator animator;
|
||||
[SerializeField, AnimatorParamDropdown(nameof(animator))] private string stringField;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user