DanielEverland / ScriptableObject-Architecture

Makes using Scriptable Objects as a fundamental part of your architecture in Unity super easy
MIT License
983 stars 114 forks source link

Arrays inspector display #135

Open sfraoua opened 4 years ago

sfraoua commented 4 years ago

Hi, When i create a new Variable using my serializable class below [Serializable] public class CustomizationParts { public Sprite[] Heads; public Sprite[] Eyes; public Sprite[] MaleHairs; public Sprite[] FemaleHairs; } Only the first label (Heads) is displayed, and fields are doubled. The other arrays are without labels and in the same line.

DanielEverland commented 3 years ago

At the moment the editor only supports drawing a single property per variable, but this is obviously an oversight and something that should be implemented in the future.

For future Daniel's sake, I'll post a screenshot of the issue here: