// Use this for initialization void Start() { sman = FindObjectOfType <SceneMan>(); linkctrl = sman.linkcloudman; gm = sman.gaman; bm = sman.bdman; pm = sman.psman; zm = sman.znman; }
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)); } }
public void Init(LinkCloudMan lcman, GraphAlgos.GraphCtrl grc) { this.grc = grc; this.lcman = lcman; }
public void Init(LinkCloudMan lm, SceneMan sm) { this.lm = lm; this.sm = sm; nodeMoveMode = nodeMoveModeE.move; }