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