Skill Button

Description

A Skill and Button control type used for skill without directional aiming. Supports skill activation, cooldowns, and cancellation.

Common

  • Input Simulate : The Button control path of the input control to be simulate.

  • Input Execution : Defines how the value transitions or updates during button press and release.

    • Momentary : Sends a value of 1 while the button is pressed, and 0 when released.

    • Press Pulse : Sends a value of 1 while the button is pressed, and 0 when released.

    • Press Pulse : Sends a value of 1 immediately when the button is released, followed by 0.

  • Is Usable : Determines whether the Skill Button can be used.

Cooldown

  • Fill : A reference to a image component with image type set to filled.

  • Text : A reference to a text or TMP component to display the remaining cooldown.

  • Format : The number format wrapped with curly braces used when displaying the cooldown as text. e.g.

    • {0} → 12

    • {0.0} or {1} → 12.3

    • {0.00} or {2} → 12.34

  • Duration : The total time duration to finish the cooldown.

  • Time Mode : The time scale that affects the duration of the cooldown.

  • Is Manual : Determines whether the cooldown is managed manually (via Instruction or scripting). If set to false, the cooldown starts automatically after casting.

Cancellation

  • Cancel Area : A reference to a Tactile Control component. Interactions such as press, release, etc. of a Cancel Area will also trigger regardless if its interactable or not when using the Skill Button.

  • Is Inverted : If true, cancellation is triggered outside the Cancel Area. If false, it is triggered inside the area.

Last updated

Was this helpful?