Hi I am trying to mobile input to work from http://udn.epicgames.com/Three/MobileInputSystem.html
I followed exactly what they have for the picking example but when I compile i get this error.
Error, Delegate assignment failed (OnInputTouch): Invalid or unknown function 'HandleInputTouch'
and its refering to this park of the code
Thanks for any helpCode:event InitInputSystem() { Super.InitInputSystem(); //Get a reference to the local MobilePlayerInput MPI = MobilePlayerInput(PlayerInput); //Accessing the input handler function to the delegate //THIS LINE IS CAUSING THE ERROR MPI.OnInputTouch = HandleInputTouch; //get the screen dimensions (used to transform to relative screen coords for the DeProject) LocalPlayer(Player).ViewportClient.GetViewportSize(ViewportSize); }![]()



Reply With Quote

Bookmarks