summaryrefslogtreecommitdiffstats
path: root/Scripts/YOTSNDMFConfig.cs
blob: 6e511cb1c6b97259d2d93d91f4b484bcb9c6ba5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#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