void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.Dictionary)) { LogError("owner is not initialized. Add Action \"newDictionary\"."); return; } OpenCVForUnity.ArucoModule.Dictionary wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.Dictionary, OpenCVForUnity.ArucoModule.Dictionary>(owner); if (!(bytesList.Value is OpenCVForUnityPlayMakerActions.Mat)) { LogError("bytesList is not initialized. Add Action \"newMat\"."); return; } OpenCVForUnity.CoreModule.Mat wrapped_bytesList = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.Mat, OpenCVForUnity.CoreModule.Mat>(bytesList); wrapped_owner.set_bytesList(wrapped_bytesList); }