How to detect Editor Only Component Properties?
Hi, I'm making a serialization tool where I need to get all of a Unity Component's properties. If I try to run a build with some code calling, for example, Light.areaSize, it'll throw a build error, since that property is exposed to non-editor assemblies, but you can't make a build with it. Is there any way to detect these "EditorOnly" properties? Or do I just have to manually scout for them in every version of Unity and update my tool accordingly?
Your answer
Follow this Question
Related Questions
How to save a two-dimensional array, as part of the variable inspector? 0 Answers
How do I show a prefab's public variables in a custom editor when I add it to a gameobject list? 0 Answers
How Can I Stop my Array Being Cleared on Runtime via Serialisation? 0 Answers
Editor nullreference error when playing second time 0 Answers
Removing / modifying in Inspector a generic variable derived from a non-generic variable 1 Answer