Hierarchy.GetOrCreatePropertyString

Declaration

public Unity.Hierarchy.HierarchyPropertyString GetOrCreatePropertyString(string name);

Parameters

name The property name.

Returns

HierarchyPropertyString The property accessor.

Description

Creates a string property with a specified name.

The result of this method should be stored and reused to avoid the costly lookup by name.


Did you find this page useful? Please give it a rating: