Scene
1
Import the asset using the Unity Package Manager.
2
Create an empty GameObject on the scene and add the "D.A. Button" script to it. You will see the asset's interface.

3
Serialize the GameObjects with Graphic that you want to animate in the TargetGraphics array (e.g., Image or Text). All TargetGraphics inside the parent GameObject with the D.A. Button script will respond to pointer events such as IPointerClickHandler, IPointerEnterHandler, and IPointerExitHandler.

Last updated