Easy Liquid Fill - Animated UI Globes & Health Bars
Ahmed Benlakhdhar (PixeLadder)
$4.99
(no ratings)
Jump AssetStore
Instantly add beautiful, physics-based liquid meters to your UI. Zero setup required. Just drag, drop, and play.Tired of static, lifeless progress bars? Easy Liquid Fill is a lightweight, fully interactive 2D liquid system that adds polish to your health globes, mana potions, and UI meters.[ 🎮 Click Here to Play the Live WebGL Demo ]This asset is designed to save you time. There are no complex shaders to configure or heavy rigidbodies to manage. The built-in system automatically handles the sloshing, momentum, and decaying oscillation of the liquid based on your value changes.KEY FEATURES• Zero Setup Required: Just drag the pre-configured Globe prefab into your Canvas. It works out of the box.• Automatic Physics: The liquid naturally tilts and swirls in response to value changes, simulating real momentum.• Highly Customizable: Tweak the fill speed, swirl intensity, decay, base tilt, and surface highlights directly in the Inspector.• Clean C# API: Change the fillAmount property to update the meter, or use TriggerSwirl(intensity) to make the liquid react to gameplay events like player damage.• Lightweight & Optimized: Built for UI Canvas performance, perfect for mobile, PC, and consoles.WHAT'S INCLUDED• Full, clean C# Source Code with professional comments.• A pre-configured Globe Prefab.• A complete Demo Scene showcasing various liquid behaviors.• Detailed Documentation.• Physics-Based Animation: Uses a procedural decaying sine wave oscillation to create a natural swirling and sloshing effect.• Clean Public API: Easily control the meter with fillAmount and TriggerSwirl(float intensity).• Highly Customizable: Exposed parameters for fill speed, swirl intensity, decay, frequency, and base inclination.• [ExecuteAlways]: All animations run in the editor, allowing for real-time previews as you adjust settings.• Robust Visuals: The LiquidAnimator correctly calculates the geometry of an elliptical liquid surface based on fill and angle.• Render Pipeline Compatible: Works with Built-in, URP, and HDRP.• Dependency: Requires the standard "Unity UI" (UGUI) package.



