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