Esempio n. 1
0
    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
    }
Esempio n. 2
0
 private void Start()
 {
     relicUI = FindObjectOfType <RelicUI>();
 }