I don’t know if the title is correct but basically, I’ve got a custom editor that has this:
public override void OnInspectorGUI()
which Hides the script all the public variables of the script it’s targeting (hope I’m using correct terms here lol)
Anyway I know I can show the variables with:
base.OnInspectorGUI();
Which is great, but I don’t want it to show eveything. So is there a way to have a beginning and an end, or is there a way to pick and choose certain variables to show?
Thanks a lot!!
http://unity3d.com/learn/tutorials/modules/intermediate/editor/building-custom-inspector http://docs.unity3d.com/ScriptReference/Editor.OnInspectorGUI.html http://docs.unity3d.com/ScriptReference/EditorGUI.html You'll have to make it show the variables that you want it to show. also... you could use http://docs.unity3d.com/ScriptReference/HideInInspector.html
– Lo0NuhtiKoooo HideInInspector is an awesomly quick fix, I forgot about that! I propbably won't use it though since I'd rather have the Custom inspector in control of that stuff. Thanks for the links! I'll be sure to go through them all :)
– Hathakas