Hello
I set up entities the same way that the official tutorials shows
The videos did not show how to set a property to a certain type, like a dropdown.
How would you make a property a dropdown?
How about making a range from 0 to 100?
Thanks for any answers
-Moose
Re: Entity Property Types
#2Hi, you may use decorators for various types in entity properties panel
there is my example of range decorator (#include <CrySerialization/Decorators/Range.h>) for mass: https://github.com/CopyPasteBugs/VFiles ... om.cpp#L65
and for drop down list with various values I suppose need to use Yasli enumeration. I saw some example of it before, in engine's sources...
there is my example of range decorator (#include <CrySerialization/Decorators/Range.h>) for mass: https://github.com/CopyPasteBugs/VFiles ... om.cpp#L65
and for drop down list with various values I suppose need to use Yasli enumeration. I saw some example of it before, in engine's sources...
Re: Entity Property Types
#3Thanks Arctic! Haven't seen you since early answers board days.
This is exactly what I'm looking
This is exactly what I'm looking