Hi all,
I was wanting to replace a lengthy property list on a behavior with some sort of data injection.
Ideally, I wanted to clear off as many instance variables as possible and just reference a single source of data (for example: Instead of having maxHealth property, I would just reference entity type, and lookup the maxhealth in a single source, instead of duplicating it on every instance.
I'm looking to have minimal properties for the behavior and be able to simply have one property that lings to the relevant data (array, dictionary, Json, I don't really care).
Is there an official way to do this?