Pardon our dust! Docs for Yarn Spinner for Unity 3.2 and Yarn Spinner for Godot C# are on docs.yarnspinner.dev (the old docs site). Docs for Yarn Spinner for Unity 3.3 (pre-release, out ASAP), Yarn Spinner for Godot GDScript and Yarn Spinner for Unreal Engine (work in progress) are on /docs/ (the new docs site).

MarkupValue

A value associated with a MarkupProperty.
public struct MarkupValue

Inherits from System.ValueType

You do not create instances of this struct yourself. It is created by objects that can parse markup, such as LineParser.

See also

  • Yarn.Markup.LineParser.ParseString

#Properties

#BoolValue

Gets the bool value of this property.
public bool BoolValue { get; internal set; }

Type Boolean

This property is only defined when the property's Type is Bool.

#FloatValue

Gets the float value of this property.
public float FloatValue { get; internal set; }

Type Single

This property is only defined when the property's Type is Float.

#IntegerValue

Gets the integer value of this property.
public int IntegerValue { get; internal set; }

Type Int32

This property is only defined when the property's Type is Integer.

#StringValue

Gets the string value of this property.
public string StringValue { get; internal set; }

Type String

This property is only defined when the property's Type is String.

#Type

Gets the value's type.
public MarkupValueType Type { get; internal set; }

Type MarkupValueType

#Methods

#ToString()

public readonly override string ToString()

Returns String

#ToString(IFormatProvider)

public readonly string ToString(IFormatProvider formatProvider)

Parameters

  • formatProviderSystem.IFormatProvider

Returns String

Generated from Yarn Spinner for Unity 3.3.