Wiki
Clone wikiMono:UI / Scripts / m_property_get_default
INTRODUCED: v0.1.0
LAST UPDATED: v0.1.1
m_property_get_default
Retrieves the default value of a Property, either by the index of the Property or by its name. The specified target will be used to decide which set of defaults to use, either by its name, or as deduced from a given object index.
Usage
m_property_set_default( "all", "Foo", "Bar" ); msg = show_message_async( m_property_get_default( "all", "Foo" ) ); // Result: "Bar"
Parameters
Type | Name | Default | Description |
---|---|---|---|
String / Object | target | object_index |
The target to retrieve the default Property value for. |
String / Real | property | The Property to retrieve the default value of. |
Returns
The given target's default for the given Property.
See Also
Updated