Custom properties component - JamesTKhan/Mundus GitHub Wiki
What is custom properties component?
Here you can store key-value pairs what you can get in runtime.
Usage in Editor
You should select CUSTOM_PROPERTIES
value in dropdown and click to Add component
button.
After this the custom properties component added to the game object and visible in the Inspector
.
You can add key-value pairs and remove them with the X button.
Usage in runtime
GameObject go = getYourGameObject();
CustomPropertiesComponent component = (CustomPropertiesComponent) go.findComponentByType(Component.Type.CUSTOM_PROPERTIES);
String hp = component.get("hp");
Gdx.app.log("", "HP: " + hp);