TextStudioMarkupPreprocessContext
public readonly struct TextStudioMarkupPreprocessContextImmutable context describing the host and source of one markup preprocessing pass.
Fields
Section titled “Fields”
public readonly Object OwnerReturns
UnityEngine.Object
Target
Section titled “Target”public readonly TextStudioText TargetReturns
TextStudio.TextStudioText
SourceId
Section titled “SourceId”public readonly string SourceIdReturns
System.String
IsAppend
Section titled “IsAppend”public readonly bool IsAppendReturns
System.Boolean
Constructors
Section titled “Constructors”
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 |