floatingtext-module

Official

Pooled animated floating damage and reward text

Authorpunkfuncgames
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provides a ready-made, configurable system to display pooled floating text (damage numbers, rewards, status popups) in Unity projects so developers avoid implementing fragile, unoptimized custom solutions for transient UI/world-space text.

Core Features & Use Cases

  • Pooling & Performance: Prewarmed object pool with reactive metrics to avoid runtime allocations and spikes when spawning many texts.
  • Flexible API: Builder-pattern FloatingTextEvent, simple factory helpers, and direct service spawn for varied integration styles.
  • Rich Animations: DOTween-driven movement, scale, rotation, fade, and gradient/outline support with configurable strategies and enums.
  • Configuration & DI: FloatingTextConfig ScriptableObject, installer-based dependency injection registration, lifecycle events (spawned/completed/pool-exhausted), and full test coverage for edit/play modes.
  • Use Case: Display critical hit numbers in world space, reward popups in UI space, or aggregated feedback counters with consistent animations and pool safety.

Quick Start

Publish a FloatingTextEvent.Simple to the MessagePipe publisher or call IFloatingTextService.Spawn with an event to show pooled animated floating text at a target position.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: floatingtext-module
Download link: https://github.com/punkfuncgames/tetris-clone/archive/main.zip#floatingtext-module

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.