Esempio n. 1
0
 public MeshRenderer GetMeshForStructure(Structure structure)
 {
     return(Loc.GetGameController().MeshRendererFactory.GetStructureMesh(structure.Mesh.Split(',').GetRandomItem()));
 }
Esempio n. 2
0
 public MeshRenderer InstantiateNewStructureMeshRenderer(Structure structure, Transform parent)
 {
     return(InstantiateNewStructureMeshRenderer(GetMeshForStructure(structure), parent));
 }
Esempio n. 3
0
 private void IndexStructure(Structure structure)
 {
     Loc.GetIdService().EnrollStructure(structure);
 }