private void Awake() { if (GlobalSceneLoader.instance != null && GlobalSceneLoader.instance != this) { Debug.LogError("You have two scene loaders present when there should be only one!"); } GlobalSceneLoader.instance = this; }
public void Start() { GlobalSceneLoader.loadWorldMap(new Ebonshire(), 0); this._worldMapUiController = this.worldMapUi.GetComponent <WorldMapUiController>(); this._pmc = this.player.GetComponent <PlayerMovementController>(); }