71
edits
Junyuan WU (talk | contribs) No edit summary |
Junyuan WU (talk | contribs) No edit summary |
||
Line 45: | Line 45: | ||
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> | <br> | ||
<source lang="Java" line start= " | <source lang="Java" line start= "1"> | ||
using UnityEngine; | using UnityEngine; | ||
using System.Collections; | using System.Collections; |
edits