
Common Stat allows developers to easily create dynamic, flexible and scalable stat systems by simplifying the process of creating, editing and managing stats for any type of game.Support 2021 and 2021+ unityCommon Stat – The Complete Stat & Formula Framework for UnityBuild, balance, and ship your game faster with an all-in-one system that gives both engineers and designers full control over every number that matters—from raw HP and armor values to bespoke damage formulas.Why Common Stat?Dedicated Stat EditorAuthor, clone, and tweak any attribute (HP, Armor, Damage, Crit Rate, etc.) in seconds. All data lives in ScriptableObjects, so versioning is painless and prefab-safe.Runtime Value ManagementInspired by titles like Elden Ring and World of Warcraft. Current / Max values update live, drive UI bars out of the box, and serialize cleanly for save-games and net-code.The new Stat Visualizer window shows current and max values, variable overrides, and final results in real time—so designers can verify balance changes instantly, no code required.Formula EngineCraft complex calculations with a simple syntax: pow(${Armor} - 1, 2 + 1) + sqrt(${HP}) * abs(sin(${HP})) + max(random(1, ${Armor}), min(${HP}, 100)) + dice(${Armor}, 6) * chance(${Armor})• Supports +, –, *, /, %, pow, sqrt, sin, cos, random, min, max, dice, chance … and is fully extensible.• ${variable} pulls any stat value, @{parameter} injects custom data at runtime.• Real-time validation flags errors before they hit play.the calculator is zero-GC, and thread-safe stack pooling keeps multithreaded calls clean, Total time for 1000 uses: 0.006 ms.Designer-Friendly WorkflowEvery tool ships with contextual tooltips and live previews. Designers iterate on damage curves without touching code; programmers keep a strongly typed, unit-testable core.Fully Documented & ExtensibleClean C# source, inline summaries, and a step-by-step guide make integration and customization straightforward.Try It NowA complete demo scene (plus WebGL build) showcases live HP, Armor, and Attack stats, lets you tweak formulas on the fly, and profiles the new performance path. Whether you’re building a single-player roguelite or a networked boss-rush, Common Stat Pro gives you the rock-solid foundation you need—so you can focus on making the game fun, not rewriting stat systems.DocumentWebglDemoStatEasy to maintain any attribute, such as attack power, life, armour, strike rate, etc.Manage current and maximum values dynamically using the Runtime Value SO system.FormulaCustomizable formula editor with real-time validation and error detection.