71
edits
Junyuan WU (talk | contribs) No edit summary |
Junyuan WU (talk | contribs) No edit summary |
||
Line 44: | Line 44: | ||
this code is for camera, then create a gameobject, this gameobject is the cube, the capture system will send the position of the root bone to the cube, then the script will make the camera follow the cube. | this code is for camera, then create a gameobject, this gameobject is the cube, the capture system will send the position of the root bone to the cube, then the script will make the camera follow the cube. | ||
<br> | |||
<source lang="Java" line start= "18"> | |||
using UnityEngine; | using UnityEngine; | ||
using System.Collections; | using System.Collections; |
edits