From 3c7d7df216fe1537362b19520b304cc6e5d856a6 Mon Sep 17 00:00:00 2001 From: yum Date: Wed, 19 Feb 2025 03:26:58 -0800 Subject: organize, update readme --- Scripts/YOTSNDMFConfig.cs | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Scripts/YOTSNDMFConfig.cs (limited to 'Scripts/YOTSNDMFConfig.cs') 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 -- cgit v1.2.3