Here is a screenshot of the "InputManager". 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.
Inputmanager handles all of the "clicks" and checks what has been clicked and if you already clicked something before. It takes the names of the bricks you clicked and compares it. If they are equal, the statemachine sends a message to the gameplaymanager what event was triggered. Inputmanager also handles the experimental "mouselook" feature that could benefit from some improvements.
Here is a screenshot of the "InputManager". 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.
Inputmanager handles all of the "clicks" and checks what has been clicked and if you already clicked something before. It takes the names of the bricks you clicked and compares it. If they are equal, the statemachine sends a message to the gameplaymanager what event was triggered. Inputmanager also handles the experimental "mouselook" feature that could benefit from some improvements.