void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.VideoCapture)) { LogError("owner is not initialized. Add Action \"newVideoCapture\"."); return; } OpenCVForUnity.VideoioModule.VideoCapture wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.VideoCapture, OpenCVForUnity.VideoioModule.VideoCapture>(owner); storeResult.Value = wrapped_owner.getExceptionMode(); Fsm.Event(storeResult.Value ? trueEvent : falseEvent); }