We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want to put all callback function input a map,and recall that by map key ,I do a test,but not work
var cameraFunctionMap:Map<String, cpp.Callable<(x:Float, y:Float, z:Float) -> Void>> = [];
Main_UseMeFromC_regeditCallbackFunction(instance ,"camera_move", onCameraMove); Main_UseMeFromC_regeditCallbackFunction(instance, "camera_rotate", onCameraRotate); Main_UseMeFromC_regeditCallbackFunction(instance, "camera_zoom", onCameraZoom);
and haxe call
cameraFunctionMap["camera_move"](1,2,3);//not work?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I want to put all callback function input a map,and recall that by map key ,I do a test,but not work
Main_UseMeFromC_regeditCallbackFunction(instance ,"camera_move", onCameraMove);
Main_UseMeFromC_regeditCallbackFunction(instance, "camera_rotate", onCameraRotate);
Main_UseMeFromC_regeditCallbackFunction(instance, "camera_zoom", onCameraZoom);
and haxe call
The text was updated successfully, but these errors were encountered: