Skip to content

TextStudio3DMenuPrefabLibrary

ClassTextStudio.ThreeDTextStudio.3D
[CreateAssetMenu(fileName = "Text Studio 3D Spatial Prefabs", menuName = "Text Studio/3D/Setup/Spatial Prefab Library", order = 103)]
public sealed class TextStudio3DMenuPrefabLibrary : ScriptableObject

Resolves package-provided production prefabs by stable spatial UI role without requiring a fixed package path.

TryGetPrefab(TextStudio3DSpatialPrefabKind, out GameObject)

Section titled “TryGetPrefab(TextStudio3DSpatialPrefabKind, out GameObject)”
public bool TryGetPrefab(TextStudio3DSpatialPrefabKind kind, out GameObject prefab)

Tries to resolve the first non-null production prefab registered for a spatial UI role.

Parameters

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

Returns

System.Boolean

public TextStudio3DMenuPrefabLibrary()

public TextStudio3DSpatialPrefabEntry[] Entries { get; set; }

Returns

TextStudio.ThreeD.TextStudio3DSpatialPrefabEntry[]