add new pack: Editor Attributes, complete GoTo cmd
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
using UnityEngine;
|
||||
using EditorAttributes;
|
||||
|
||||
namespace EditorAttributesSamples
|
||||
{
|
||||
[HelpURL("https://editorattributesdocs.readthedocs.io/en/latest/Attributes/MiscellaneousAttributes/readonly.html")]
|
||||
public class ReadOnlySample : MonoBehaviour
|
||||
{
|
||||
[Header("ReadOnly Attribute:")]
|
||||
[SerializeField, ReadOnly] private int readonlyField;
|
||||
|
||||
[SerializeField, ReadOnly] private int[] readonlyArray;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user