protected override void Start() { // Find All UI Objects uISingleton = UISingleton.Instance; soulPanel = uISingleton.GetComponentInChildren <SoulPanel>(); recapUI = uISingleton.GetComponentInChildren <RecapUI>(); relicUI = uISingleton.GetComponentInChildren <RelicUI>(); itemTooltip = uISingleton.GetComponentInChildren <ItemTooltip>(); // itemSaveManager = FindObjectOfType<ItemSaveManager>(); TODO: Save System // Set UI soulPanel.SetTexts(this.souls); soulPanel.UpdateTextsValues(); // TODO setting base values here is going to cause confusion map = new Room(new Vector2(0, 0), true, true, true, true); // default path }
void Start() { uISingleton = UISingleton.Instance; // Find All UI Objects levelPanel = uISingleton.GetComponentInChildren <LevelPanel>(); UpdateUI(); }
void Start() { uISingleton = UISingleton.Instance; sanityUI = uISingleton.GetComponentInChildren <SanityUI>(); maxEssence = 5; activeSoul = Soul.gravity; inactiveSoul = Soul.poison; this.gravityEssence = this.maxEssence; this.poisonEssence = this.maxEssence; }
void Start() { player = PlayerSingleton.Instance.player; playerRelic = player.relics; relics = playerRelic.relics; SetStartingItems(); uISingleton = UISingleton.Instance; itemTooltip = uISingleton.GetComponentInChildren <ItemTooltip>(); this.OnPointerEnterEvent += ShowTooltip; this.OnPointerExitEvent += HideTooltip; }