TextStudio3DSpatialPrefabEntry
public struct TextStudio3DSpatialPrefabEntryAssociates a spatial UI role with the production prefab used to instantiate that control or menu.
Constructors
Section titled “Constructors”
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 |
Properties
Section titled “Properties”
public TextStudio3DSpatialPrefabKind Kind { get; }Returns
TextStudio.ThreeD.TextStudio3DSpatialPrefabKind
Prefab
Section titled “Prefab”public GameObject Prefab { get; }Returns
UnityEngine.GameObject