-
Notifications
You must be signed in to change notification settings - Fork 209
Open
Description
Hi,
I really like the idea of using scriptable objects as variables. Adding a description is really usefull, specially in bigger projects.
Unite2017/Assets/Code/Variables/FloatVariable.cs
Lines 15 to 18 in 6912f2f
| #if UNITY_EDITOR | |
| [Multiline] | |
| public string DeveloperDescription = ""; | |
| #endif |
Unfortunatly, it seems that this is not possible anymore to keep the description as an editor definition in Unity 2019.1. It generates a crash at runtime with the following message :
Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?
Metadata
Metadata
Assignees
Labels
No labels