About
MultiStateResolvable
is a extended Resolvable
class that handles setting a property using a state from a MultiState
.
It works the same as if putting a state on a description, it will also detect state changes and changes the property if the state that was changed was the target state used in this resolvable.
Using it in a Description
:
{
["PropertyName"] = Builder.MultiStateResolvable(MultiState, "StateName")
}