コード例 #1
0
 // Use this for initialization
 void Awake()
 {
     playerVector3Ser.setVector3Ser(transform.position.x, transform.position.y,
                                    transform.position.z);
     playerQuatSer.setQuaternionSer(transform.rotation.x, transform.rotation.y,
                                    transform.rotation.z, transform.rotation.w);
 }
コード例 #2
0
 //position set to the Vector3Serial
 public void setPosition(Vector3 aPos)
 {
     vect3Ser.setVector3Ser(aPos.x, aPos.y, aPos.z);
 }