// 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); }
//position set to the Vector3Serial public void setPosition(Vector3 aPos) { vect3Ser.setVector3Ser(aPos.x, aPos.y, aPos.z); }