Here is a screenshot of the "GameplayManager". This Statemachine is made with "Playmaker", a plugin for Unity that takes the typing out of prototyping/coding. If you have questions about how this statemachine works, please leave a comment and I will try to answer it.
This statemachine handles all that happens when you reveal to bricks/tiles that are the same.Say you trigger the "rat". The Statemachine checks if you have the sword, the shield or a combination of both, then delivers the results. In the case of the "wizard" and the "chest", extensive loot is randomized.
Here is a screenshot of the "GameplayManager". This Statemachine is made with "Playmaker", a plugin for Unity that takes the typing out of prototyping/coding. If you have questions about how this statemachine works, please leave a comment and I will try to answer it.
This statemachine handles all that happens when you reveal to bricks/tiles that are the same.Say you trigger the "rat". The Statemachine checks if you have the sword, the shield or a combination of both, then delivers the results. In the case of the "wizard" and the "chest", extensive loot is randomized.