2025-05-16 17:15:33 +07:00

4.2 KiB

sidebar_position, title, description
sidebar_position title description
16 Free Round Display and manage remaining free rounds in the game.

Free Round

Overview

  • Handles the display and logic for tracking remaining free rounds in a slot game.
  • Supports both desktop and mobile, including animation and event handling.
Orientation Preview
Desktop Desktop
Mobile Mobile

Implementation

Prefab Locations

In Core

Path Example
assets\core-assets\hyper-core\packages\freeround-count-box\prefabs Core Prefab

In Game

Path Example
assets\game-assets\prefabs Copied Prefab

General Setup

Copied Prefab

  • Component that manages and displays the free rounds counter.

Copied Prefab

(platform): Desktop / Mobile *

Property Description
duration Animation duration in seconds (fade In/Out)
content Container node for the counter
labelLeft Label displaying remaining free rounds

Platform Setup

Desktop

Component Description
Platform-ui-controller Platform UI Controller

Overview


Mobile

Component Description
Platform-ui-controller Platform UI Controller
UI Mobile Position UI Mobile Position

Overview

Font Setup

Preview
![Add Font](../img/05-main-scene/freeround-counter/add-font.png)

:::tip

  • Position And Size: Follow Game Design. :::

Game Result Examples

Platform Popup Action Result
Desktop Desktop click → Start Add Font
Mobile Mobile click → Start Add Font