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.