Beispiel #1
0
 private byte[] ConvToBytes()
 {
     ball.x = gameObject.transform.position.x;
     ball.y = gameObject.transform.position.y;
     ball.z = gameObject.transform.position.z;
     return(Encoding.ASCII.GetBytes(ball.serialize() + "END_OF_MSG"));
 }