void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.DetectorParameters)) { LogError("owner is not initialized. Add Action \"newDetectorParameters\"."); return; } OpenCVForUnity.ArucoModule.DetectorParameters wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.DetectorParameters, OpenCVForUnity.ArucoModule.DetectorParameters>(owner); wrapped_owner.set_adaptiveThreshWinSizeMax(adaptiveThreshWinSizeMax.Value); }