- Home /
ScriptableObjects lists (from the same script) open simultaneously in custom window
Hi, i have this problem with simultaneously opening list from two diffrent scriptableObject based on the same script. My scriptableObject script have inside a list of weapons (class). I am using it to hold settings for weapons. In the inspector like every list it is shown as name with small triangle which when you press list is spreading. I made new gameObject (named CombinedSettings) which combine all scriptable objects inspectors (one below another) in it as custom inspector (OnInspectorGUI()) (There are two scriptableObjects made from "weapon" script). Now i made my own custom window (EditorWindows) and drawing OnInspectorGUI method from that gameObject (CombinedSettings) in it. It is all working not bad, but when i spread list from weapon scriptableObject, my list from other scriptable object based on the same weapon script is also spreading. It is really confusing and i need it to stop ;p Any one know what might cause that problem?
Your answer
Follow this Question
Related Questions
CustomEditor for an ScriptableObject asset only works after recompile. 1 Answer
Draw scriptable object "inspector" in custom window (EditorWindow) 1 Answer
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Serializing a ScriptableObject without creating an asset for it? 2 Answers