Exemple #1
0
    void Start()
    {
        currentSiteMarkers      = new Dictionary <SiteId, SiteMarker>();
        _currentSitelinkMarkers = new List <SitelinkMarker>();
        _wanManager             = gameObject.GetComponent <WanManager>();

        _dataManager = gameObject.GetComponent <SteelConnectDataManager>();

        confirm.SetActive(false);
        createSiteWindow.SetActive(false);
        _informationTextMesh = informationText.GetComponent <TextMesh>();
        informationText.transform.parent.parent.gameObject.SetActive(false);

        flatMap.GetComponent <FlatMapInteraction>().map.OnInitialized += new System.Action(() => {
            _isMapInitialized = true;
        });

        StartCoroutine("UpdateEntitiesOnStartUp");
    }
Exemple #2
0
 void Start()
 {
     _stateManager      = GameObject.Find("State Manager").GetComponent <StateManager>();
     _dataManager       = GameObject.Find("State Manager").GetComponent <SteelConnectDataManager>();
     _globeSiteCreation = earthSphere.GetComponent <GlobeSiteCreation>();
 }