Skip to content

TextStudio3DSpatialPrefabEntry

StructTextStudio.ThreeDTextStudio.3D
public struct TextStudio3DSpatialPrefabEntry

Associates a spatial UI role with the production prefab used to instantiate that control or menu.

TextStudio3DSpatialPrefabEntry(TextStudio3DSpatialPrefabKind, GameObject)

Section titled “TextStudio3DSpatialPrefabEntry(TextStudio3DSpatialPrefabKind, GameObject)”
public TextStudio3DSpatialPrefabEntry(TextStudio3DSpatialPrefabKind kind, GameObject prefab)

Creates a prefab-library entry for one stable spatial UI role.

Parameters

Name Type
kind TextStudio.ThreeD.TextStudio3DSpatialPrefabKind
prefab UnityEngine.GameObject

public TextStudio3DSpatialPrefabKind Kind { get; }

Returns

TextStudio.ThreeD.TextStudio3DSpatialPrefabKind

public GameObject Prefab { get; }

Returns

UnityEngine.GameObject