A downloadable tool

Buy Now$5.00 USD or more

Alien Interactions - Stamina System v1.0

A fully modular, prefab-driven stamina solution for Unity 6+. No scripting required for basic setup—even non-coders can go from zero to gameplay in minutes.

Key Benefits

  • Simply place one of our two prefabs in your scene and link your character—stamina works instantly.Drag-&-Drop Setup
  • Horizontal Bar—ideal for RPGs, platformers, mobile titles, and any genreTwo UI Styles Radial Half-Circle (requires Unity’s 2D Sprite package)—perfect for FPS, twin-stick shooters, and HUD-centric games
  • Automatically blink the UI when stamina hits zero, so players instantly know they can’t sprint/jump/attack.Visual Feedback
  • Full C# API exposes StartDrain(), DrainStamina(), StopDrain(), RestoreStamina(), RefillStamina(), plus an OnStaminaChanged event for driving other gameplay systems.Advanced Control
  • Configurable regen rate, standard delay, and short-delay refill when you stop above zero—tweak to match any design.Flexible Regeneration
  • Clean, decoupled codebase ready for custom extensions—no hidden manager classes or magic “singletons.”Event-Driven & Extensible

What’s Included

  • StaminaBarCanvas_Horizontal (slider-style UI)Prefabs/ StaminaBarCanvas_Radial (half-circle UI)
  • StaminaTestDriver.cs (demo input handler)Scripts/ StaminaController.cs (core logic) StaminaBarUI.cs (UI hookup + blink coroutine)
  • DemoScene.unity showcasing both bars side-by-side
  • Integration Guides (Beginner & Developer versions)

Compatibility & Requirements

  • Unity 6.0+, Built-In RP / URP / HDRP
  • 2D Sprite package for the radial UI
  • Unity Input System package (demo only; not required in your game)
  • All Unity-supported platforms

Get Started in Seconds

  1. Import the package.
  2. Drag the prefab into your scene.
  3. Add StaminaController to your character.
  4. Link the prefab’s UI component to your controller.
  5. Press Play and hold Space (or hook into your own input) to see stamina drain, blink, and refill.

Purchase

Buy Now$5.00 USD or more

In order to download this tool you must purchase it at or above the minimum price of $5 USD. You will get access to the following files:

Stamina System.unitypackage 25 kB

Leave a comment

Log in with itch.io to leave a comment.