Quantcast
Channel: Latest Questions by aosome23
Viewing all articles
Browse latest Browse all 64

Multi-editing is not supported with drawDefaultInspector?

$
0
0
I have a simple code: using UnityEngine; using UnityEditor; using System.Collections; [CustomEditor(typeof(ItemContainer))] public class ItemContainerEditor : Editor{ public override void OnInspectorGUI() { DrawDefaultInspector(); EditorGUILayout.HelpBox("The Parent of ItemContainer must have StoreManeger", MessageType.Info); } } However when I try to multi object editing, it says it is not supported. I have put the script in Assets/Scripts/Editor. What am I doing wrong? ' Thank you

Viewing all articles
Browse latest Browse all 64

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>