diff options
| author | yum <yum.food.vr@gmail.com> | 2025-02-19 03:26:58 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-02-19 03:27:16 -0800 |
| commit | 3c7d7df216fe1537362b19520b304cc6e5d856a6 (patch) | |
| tree | 25520012d433f6e188bfef08a80329ef7c0db284 /Scripts/YOTSNDMFConfig.cs | |
| parent | 0675266fac2d1b9b1af9b89b5830bc7efedfed21 (diff) | |
organize, update readme
Diffstat (limited to 'Scripts/YOTSNDMFConfig.cs')
| -rw-r--r-- | Scripts/YOTSNDMFConfig.cs | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Scripts/YOTSNDMFConfig.cs b/Scripts/YOTSNDMFConfig.cs new file mode 100644 index 0000000..0609d18 --- /dev/null +++ b/Scripts/YOTSNDMFConfig.cs @@ -0,0 +1,22 @@ +#if UNITY_EDITOR
+
+using UnityEngine;
+using nadena.dev.ndmf;
+using VRC.SDK3.Avatars.ScriptableObjects;
+
+namespace YOTS
+{
+ [DisallowMultipleComponent]
+ public class YOTSNDMFConfig : MonoBehaviour
+ {
+ [Tooltip("The JSON configuration file.")]
+ public TextAsset jsonConfig;
+
+ void OnValidate()
+ {
+ gameObject.tag = "EditorOnly";
+ }
+ }
+}
+
+#endif // UNITY_EDITOR
|
