unity3d游戏开发之IOS自定义游戏摇杆和飞机平滑的移动(十一).docVIP

  • 2
  • 0
  • 约1.08万字
  • 约 12页
  • 2015-12-20 发布于安徽
  • 举报

unity3d游戏开发之IOS自定义游戏摇杆和飞机平滑的移动(十一).doc

移动开发游戏中使用到的触摸游戏摇杆在iPhone上是非常普遍的,毕竟是全触摸屏手机,今天MOMO 通过一个小例子和大家讨论 ////////////////////////////////////////////////////////////// // Joystick.js // Penelope iPhone Tutorial // // Joystick creates a movable joystick (via GUITexture) that // handles touch input, taps, and phases. Dead zones can control // where the joystick input gets picked up and can be normalized. // // Optionally, you can enable the touchPad property from the editor // to treat this Joystick as a TouchPad. A TouchPad allows the finger // to touch down at any point and it tracks the movement relatively // without moving the graphi

文档评论(0)

1亿VIP精品文档

相关文档