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