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/filepath.html")]
|
||||
public class FilePathSample : MonoBehaviour
|
||||
{
|
||||
[Header("FilePath Attribute:")]
|
||||
[SerializeField, FilePath] private string filePath;
|
||||
[SerializeField, FilePath(false)] private string absoluteFilePath;
|
||||
[SerializeField, FilePath(filters:"cs,unity")] private string filteredFilePath;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user