Wiki

Clone wiki

Mono:UI / Scripts / m_property_set_default

INTRODUCED: v0.1.0
LAST UPDATED: v0.1.2

m_property_set_default

Sets the default value for the specified target's specified Property.

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
Real / String target The target to set the default Property value for.
Real / String property The Property to set the default value of.
mixed value The new default value.

See Also

Updated