Hierarchy.GetOrCreatePropertyUnmanaged

Declaration

public HierarchyPropertyUnmanaged<T> GetOrCreatePropertyUnmanaged(string name, Unity.Hierarchy.HierarchyPropertyStorageType type);

Parameters

name The property name.
type The storage type for the property.

Returns

HierarchyPropertyUnmanaged<T> The property accessor.

Description

Creates an unmanaged 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: