A player manager to see if the game has ended or not – checking player health.
In the playerManager Script, I want to check if any of the players have died
In the player scripts I check if any of the players have died
I changed the HamsaManager delgates to broken, so that they don’t look like they do the same thing as the players died, and refelcted this in the attack script
The tile manager, this needs to:
Assigning the the initial colours of the tiles.
In the Tile script
The tile checks if it should update the colour it is.
We now have a colourful unity project!
Can I colour the Hamsa’s as well?
The Hamsa Manager
Colouring the players (using the same script) – in the player Manager.
The Player Manager Script
Adding the colour to the players.
Tile Manager Script:
- Added a little something so that you can choose how many tiles are coloured to start, out of the whole list of tiles.
Test the code
Add this code to the Hamsa’s
Turn the NON to invisible
This is to do with turning the shader to transparent.