TextStudio3DMenuPrefabLibrary
[CreateAssetMenu(fileName = "Text Studio 3D Spatial Prefabs", menuName = "Text Studio/3D/Setup/Spatial Prefab Library", order = 103)]public sealed class TextStudio3DMenuPrefabLibrary : ScriptableObjectResolves package-provided production prefabs by stable spatial UI role without requiring a fixed package path.
Methods
Section titled “Methods”
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
Constructors
Section titled “Constructors”
TextStudio3DMenuPrefabLibrary()
Section titled “TextStudio3DMenuPrefabLibrary()”public TextStudio3DMenuPrefabLibrary()Properties
Section titled “Properties”
Entries
Section titled “Entries”public TextStudio3DSpatialPrefabEntry[] Entries { get; set; }Returns
TextStudio.ThreeD.TextStudio3DSpatialPrefabEntry[]