Exemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     sman     = FindObjectOfType <SceneMan>();
     linkctrl = sman.linkcloudman;
     gm       = sman.gaman;
     bm       = sman.bdman;
     pm       = sman.psman;
     zm       = sman.znman;
 }
Exemplo n.º 2
0
 public void AddRoomsToBuilding()
 {
     roomdict   = new Dictionary <string, BldRoom>();
     roomlistgo = new GameObject("Rooms");
     roomlistgo.transform.parent = this.transform;
     this.lc = bm.sman.linkcloudman;
     if (roomspecs.Count == 0)
     {
         var rooms = GetRoomListFromNodes();
         rooms.ForEach(room => AddOneRoom(room));
     }
     else
     {
         roomspecs.ForEach(roomspec => AddOneRoomSpec(roomspec));
     }
 }
Exemplo n.º 3
0
 public void Init(LinkCloudMan lcman, GraphAlgos.GraphCtrl grc)
 {
     this.grc   = grc;
     this.lcman = lcman;
 }
Exemplo n.º 4
0
 public void Init(LinkCloudMan lm, SceneMan sm)
 {
     this.lm      = lm;
     this.sm      = sm;
     nodeMoveMode = nodeMoveModeE.move;
 }