Hi
On my game control script, I have a group of game objects in the scene that I'd like to be able to switch on and off via my inspector script using EditorGUILayout. I have used serializedObject.FindProperty on my Editor script to grab the reference for the objects in the Control Script. But unless I'm running the game, these won't show up. I need them to display when not in play mode, so that I can then set up my editor script to allow me to turn the object on or off (active).
Problem also...
EditorGUILayout: Controlling SetActive on SerializedObjects from Inspector
On my game control script, I have a group of game objects in the scene that I'd like to be able to switch on and off via my inspector script using EditorGUILayout. I have used serializedObject.FindProperty on my Editor script to grab the reference for the objects in the Control Script. But unless I'm running the game, these won't show up. I need them to display when not in play mode, so that I can then set up my editor script to allow me to turn the object on or off (active).
Problem also...
EditorGUILayout: Controlling SetActive on SerializedObjects from Inspector