Skip to content

TextStudioMarkupPreprocessContext

StructTextStudioTextStudio
public readonly struct TextStudioMarkupPreprocessContext

Immutable context describing the host and source of one markup preprocessing pass.

public readonly Object Owner

Returns

UnityEngine.Object

public readonly TextStudioText Target

Returns

TextStudio.TextStudioText

public readonly string SourceId

Returns

System.String

public readonly bool IsAppend

Returns

System.Boolean

TextStudioMarkupPreprocessContext(Object, TextStudioText, string, bool)

Section titled “TextStudioMarkupPreprocessContext(Object, TextStudioText, string, bool)”
public TextStudioMarkupPreprocessContext(Object owner, TextStudioText target, string sourceId, bool isAppend)

Creates context for a replacement or append operation.

Parameters

Name Type
owner UnityEngine.Object
target TextStudio.TextStudioText
sourceId System.String
isAppend System.Boolean