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