CodePudding user response:
UnityEditor editor class under the UnityEditor namespace, so you need to using namespaces, you callCodePudding user response:
UnityEditor editor class under the UnityEditor namespace, so you need to using namespaces, you call