Esempio n. 1
0
 public Wall WallCreate(Scene scene)
 {
     Wall wall = new Wall(scene, Vertices);
     NetworkHelper.SetServerId(wall, ServerId);
     wall.SetTransform(Transform);
     return wall;
 }
Esempio n. 2
0
 public WallAdded(Wall wall)
 {
     ServerId = (int)wall.ServerId;
     Vertices = wall.Vertices.ToArray();
     Transform = wall.GetTransform();
 }