Updates


Changes:

This update enables right-clicking on the Item buttons to display their effect.  It's current setup only for Health Items.  

I also reworked the way units are used.  The previous version had a Model prefab with the Unit Script attached.  To allow for Unit Swapping and other features, I created an Active Unit game object in the hierarchy that contains the Unit script component.  I then created a scriptable object class called UnitStats.  All the info about the specific unit is held in this asset. This includes the model prefab, and move animations.

So now, the Unit class updates to show whichever unit the Character has choosen as their Active Unit.

Files

Archive 2.zip Play in browser
May 15, 2021

Leave a comment

Log in with itch.io to leave a comment.