Ejemplo n.º 1
0
 public DecorationSerialized(Decoration decorationToSerialized)
 {
     floorId = decorationToSerialized.currentFloor.id;
     type    = decorationToSerialized.model;
 }
Ejemplo n.º 2
0
 public DecorationSerialized(int id, int floorId, Decoration.TypeOfDecoration type)
 {
     this.id      = id;
     this.floorId = floorId;
     this.type    = type;
 }
Ejemplo n.º 3
0
 private GameObject DecoractionPreFabByModel(Decoration.TypeOfDecoration model)
 {
     return(decorationPreFabs.Find(decoration => decoration.GetComponent <Decoration>().model == model));
 }