Skip to content

TextGalleryConstructionSource

StructTextStudio.EditorTextStudio.Editor
public readonly struct TextGalleryConstructionSource

An inspectable asset used to construct a gallery example.

TextGalleryConstructionSource(string, Object)

Section titled “TextGalleryConstructionSource(string, Object)”
public TextGalleryConstructionSource(string label, Object asset)

Associates an inspectable source asset with its label in a gallery card's construction details.

Parameters

Name Type
label System.String
asset UnityEngine.Object

public string Label { get; }

Returns

System.String

public Object Asset { get; }

Returns

UnityEngine.Object