
A physics-based system for creating beautiful, swirling 2D liquid meters. Adds a professional, dynamic feel to any UI health bar or potion globe.Tired of static, boring health bars? Elevate your project's UI with Easy Liquid Fill, a lightweight and powerful system for creating beautiful, physics-based, and interactive 2D liquid meters.With a simple drag-and-drop prefab and a clean C# API, you can add a dynamic, swirling 3D effect to your 2D UI in minutes. The liquid surface automatically tilts and swirls in a circular, decaying oscillation in response to value changes, simulating the momentum of real liquid.KEY FEATURES• Dynamic Swirling Effect: Liquid automatically sloshes and swirls with physics-based motion.• Highly Customizable: Control fill speed, swirl intensity, decay, and oscillation frequency.• Full Artistic Control: Adjust liquid and surface colors, surface highlight intensity, and the base tilt of the liquid.• Easy to Use: A simple and clean public API. Changing the fillAmount property is all you need to get started.• Manual Triggers: Call TriggerSwirl() from your own scripts to make the liquid react to gameplay events like player damage or impacts.• Full C# Source Code Included: Clean, refactored, and ready to be extended.WHAT'S INCLUDED• LiquidAnimationController and LiquidAnimator scripts.• A pre-configured Globe prefab with a circular mask.• A complete Demo Scene to showcase all features.• Detailed Documentation.md and Readme.md files.• 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.