void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.EM)) { LogError("owner is not initialized. Add Action \"newEM\"."); return; } OpenCVForUnity.MlModule.EM wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.EM, OpenCVForUnity.MlModule.EM>(owner); storeResult.Value = wrapped_owner.getClustersNumber(); }