Hi!
I'm currently searching for a solution to show a list of different objects from the same base class with there properties in the inspector, length of the list is also dynamic and may change.
I do not find any solution for that, I found some good ideas with Editor-Scripting and "SerializedProperty", but this did not fit because "EntityComponent" does not implement "MonoBehaviour".
Is there a solution for my problem?
List of different object types with properties in inspector
I'm currently searching for a solution to show a list of different objects from the same base class with there properties in the inspector, length of the list is also dynamic and may change.
I do not find any solution for that, I found some good ideas with Editor-Scripting and "SerializedProperty", but this did not fit because "EntityComponent" does not implement "MonoBehaviour".
Is there a solution for my problem?
Code (CSharp):
- using System;
- //Base class
- [Serializable]
- public class...