Guest User

Untitled

a guest
Jul 29th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. event PlayerInput(float DeltaTime)
  2. {
  3.          // Add the aMouseX & aMouseY to the mouse position and clamp it within the viewport width/height
  4.          MousePosition.X = Clamp(MousePosition.X + aMouseX, 0, myHUD.SizeX);
  5.          MousePosition.Y = Clamp(MousePosition.Y - aMouseY, 0, myHUD.SizeY);
  6.  
  7.     CamScroll();
  8.  
  9.         Super.PlayerInput(DeltaTime);
  10. }
  11.  
  12. function CamScroll()
  13. {
  14.     //code
  15. }
Add Comment
Please, Sign In to add comment