Mobile terminal touch interaction script optimization method based on Unity3D
An optimization method and mobile-end technology, applied in the field of Unity3D, can solve the problems of software download deployment pressure, poor usability, and complicated deployment process
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment Construction
[0011] It should be noted that, in the case of no conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other.
[0012] The present invention will be described in detail below in conjunction with examples.
[0013] A method for optimizing mobile terminal touch interaction scripts based on Unity3D, including the following content:
[0014] A single script file that realizes the translation, rotation, and zoom functions of the model is formed by controlling the three parameters of the camera. The three parameters include the displacement parameter of the virtual center of the camera, the rotation angle parameter of the camera Orbit, and the distance parameter between the camera and the model .
[0015] The displacement parameter Offset of the virtual center of the camera:
[0016] The virtual center of the camera is realized by the virtual parent of the camera and an empty GameObject. In this way, the camera pans, and ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More