예제 #1
0
 public void Interact(InstructionContext context)
 {
     if (Instructions != null && Instructions.Instruction != null)
     {
         InstructionManager.Instance.StartCoroutine(Instructions.Run(context, this));
     }
 }
예제 #2
0
 private void Trigger(VariableValue variable)
 {
     if (Instructions != null)
     {
         InstructionManager.Instance.StartCoroutine(Instructions.Run(_context, this));
     }
 }