Skip to main content

Class KeyButtonUIHandler

Monitors a specified keyboard key and drives a UI button animation by updating the Animator’s “Pressed” parameter, providing real-time visual feedback when the key is held down.

[RequireComponent(typeof(Animator))]
public class KeyButtonUIHandler : MonoBehaviour

Inheritance​