samOtero / PTDGame

A 3D reimagining of the original Pokemon Tower Defense game made in Unity.
17 stars 2 forks source link

Hide some UI elements when dragging a tower #3

Open samOtero opened 2 years ago

samOtero commented 2 years ago

Problem: When dragging a tower the UI elements of unit buttons are still showing in the screen. We want to follow the original PTD's example of hiding the UI when dragging.

Solution: Create way via an event to hide certain groups of UIs that will be toggled on start tower drag and end tower drag events.