Version: Unity 6 (6000.0)
LanguageEnglish
  • C#

Hierarchy.GetOrCreatePropertyUnmanaged

Declaration

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

Parameters

Description
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.