ElementPropertyPool class provides read-only access to the custom properties defined on an entity (block, side, item, enemy, ball, decoration). Custom properties are defined in the level editor and allow designers to attach metadata to entities that scripts can read at runtime.
Every entity exposes a properties field of this type.
To modify properties at design time (in level data), use
ElementPropertiesData instead.Properties
Methods
hasProperty
Checks if a property with the given name exists.getProperty
Returns the property object with metadata.getPropertyValue
Returns the current value of a property.Indexer
Direct value access by name:ElementProperty
Each property returned bygetProperty() has: