Reference to an entity with a Sprite2DRenderer component that represents the button's default state. Mouse/touch interaction, captured by the MouseInteraction component, swaps or modifies the sprite based on the type of transition you apply. If this is set to NONE, it assumes that the underlying entity (the one that the Button component is attached to) also has a Sprite2DRenderer component, and uses that.
Reference to an entity that defines visual transitions based on mouse/ touch interaction captured by the MouseInteraction component. For example, A SpriteTransition or ColorTintTransition component.
Generated using TypeDoc
Component for UI buttons.