[Feature Request] Expose statesystem preset's m_ObjectType

DavidC

Active member
It can be tricky to keep track of presets, especially if you make a new one in the wrong place.

I'd like to see in the inspector the value for m_ObjectType. For example, you would see (as a ReadOnly field)

m_ObjectType: Opsive.UltimateCharacterController.Character.CharacterIK
(Ideally, you shorten this to eliminate the Opsive.UltimateCharacterController portion).

In this:
1623266107406.png

ReadOnly is something that needs to be added. https://answers.unity.com/questions/489942/how-to-make-a-readonly-property-in-inspector.html

(This is what UMA uses). Make sure to include it in the namespace, or any other assets that also use this (it's common), will cause collisions when Imported.
 
The header of the inspector displays the object type - it's just above the field in your image :)
 
Top