Пример #1
0
 public void ReadColor(ref UnityEngine.Color c)
 {
     c.r = In.ReadSingle();
     c.g = In.ReadSingle();
     c.b = In.ReadSingle();
     c.a = In.ReadSingle();
 }
Пример #2
0
 public void ReadVector3(ref UnityEngine.Vector3 v)
 {
     v.x = In.ReadSingle();
     v.y = In.ReadSingle();
     v.z = In.ReadSingle();
 }