Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

List of different object types with properties in inspector

$
0
0
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?

Code (CSharp):
  1. using System;
  2.  
  3. //Base class
  4. [Serializable]
  5. public class...
List of different object types with properties in inspector

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>