예제 #1
0
 //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);
 }
예제 #2
0
 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;
 }