This site is for Yarn Spinner v1, and won't be updated. Go to the current site.

Instruction Class

An instruction in a Yarn Program.

public sealed class Instruction : IMessage<Instruction>, IMessage, IEquatable<Instruction>, IDeepCloneable<Instruction>

Properties

Name Description
Opcode The operation that this instruction will perform.
Operands The list of operands, if any, that this instruction uses.

Source

Defined in YarnSpinner/YarnSpinner.cs, line 456.