//for now it is going to be in update, but once the inventory system is on, this should happen when "equipping" the spirit private void Start() { onSpiritChanged += UIManager.Instance.ManageSpiritUI; OnEquipSpirit(spirit); }
private void OnEnable() { //onSpiritChanged += UIManager.Instance.ManageSpiritUI; // - Moved to start as UIManager Instance reference is not initialised when OnEnable() runs onSpiritChanged += Spirits_PlayerModel.Instance.SetCorrectProps; }