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); wrapped_owner.shuffleTrainTest(); }