void Start() { mtc = GetComponent <MainThreadConstructor>(); dockConstructor = null; islandConstructor = null; viewportController = null; islandList = null; hologramCenter = null; }
private void MainConstructorFinished() { dataManager = GameObject.Find("DataManager"); dockConstructor = mtc.getDockConstructor(); islandConstructor = mtc.getIslandGOConstructor(); viewportController = GameObject.Find("MapNavigationArea").GetComponent <InverseMultiTouchController>(); RecenterViewport(); islandList = islandConstructor.getIslandGOs(); currentIDX = 0; hologramCenter = GameObject.Find("HologramCenter"); }