
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 UnityAccelerate game development with a comprehensive, designer-friendly stat management system that scales from prototype to production.Common Stat provides a robust, performance-optimized framework for managing game statistics, formulas, and dynamic calculations. Whether you're developing RPGs, action games, or complex simulation titles, this system delivers the flexibility and reliability your project demands.Core FeaturesFlexible Attribute SystemCreate and modify any game attribute (HP, Armor, Damage, Critical Rate, etc.) through intuitive ScriptableObject workflowsVersion-control friendly architecture with prefab-safe data storageClone and customize attributes in seconds without code modificationAdvanced Runtime ManagementCurrent/Max value pairs with automatic UI integrationLive value updates with built-in serialization.Inspired by industry-leading titles like Elden Ring and World of WarcraftProfessional Development ToolsStat Visualizer Window: Real-time monitoring of current values, overrides, and calculated resultsDedicated Stat Editor: Streamlined interface for rapid iteration and balance testingLive Validation: Catch configuration errors before runtimeComprehensive tooltips and contextual help throughoutHigh-Performance Formula EngineExecute complex mathematical operations with zero garbage collection:pow(${Armor} - 1, 2 + 1) + sqrt(${HP}) * abs(sin(${HP}))+ max(random(1, ${Armor}), min(${HP}, 100))+ dice(${Armor}, 6) * chance(${Armor})Performance Metrics: 1000 formula evaluations in 0.006msSupported Operations:Basic arithmetic: +, -, *, /, %Advanced functions: pow, sqrt, sin, cos, random, min, max, dice, chanceVariable references: ${stat_name} for dynamic stat valuesRuntime parameters: @{parameter} for contextual data injectionTechnical Specifications:Zero-GC execution with thread-safe stack poolingFully extensible function libraryMultithreading support for high-performance scenariosDesigner-Developer CollaborationFor Designers:Visual formula editor with live previewNo-code balance iteration and testingImmediate feedback on statistical changesIntuitive drag-and-drop workflowFor Developers:Clean, well-documented C# codebaseStrongly-typed, unit-testable architectureComprehensive inline documentationStraightforward integration and customization APIsProduction-Ready FeaturesNetwork Synchronization: Easy Stat or Value SynchronizationSave System Integration: Seamless serialization for game state persistencePerformance Optimization: Enterprise-grade efficiency for large-scale projectsExtensibility: Modular design supports custom functionality without core modificationsGetting StartedThe package includes:Complete demo scene with interactive examplesWebGL build for immediate testingStep-by-step integration guidePerformance profiling toolsComprehensive documentationUse CasesPerfect for projects requiring:Complex RPG stat systemsDynamic damage calculationsReal-time balance adjustmentsMultiplayer stat synchronizationData-driven game design workflowsCommon Stat transforms stat management from a development bottleneck into a competitive advantage, enabling your team to focus on gameplay innovation rather than infrastructure maintenance.Build better games faster. Focus on fun, not stat system complexity.Survivors Roguelike Kit made with this systemDocumentPreview the web demo hereStatEasy 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.