Roofen-Game
  • Welcome to Roofen Game
  • Frameworks
    • Common Stat
      • Demo
      • 🚀 Quick Start Guide
      • Runtime
      • Action
      • Formula
      • Examples
      • Debugger
      • FAQ
      • Version Update
      • FutureDirection
    • RToDo
  • Survivors Roguelike Kit
    • Quick Start
    • Core Concepts Overview
      • Scene Concepts
      • Stat Concepts
      • Skill Concepts
    • Adding a New Playable Character
    • Adding a New Enemy
    • Adding a New Stage Configuration
    • Adding a New Map Configuration
    • Adding a New Level
    • Adding a New Attack Skill
    • Adding a New Buff
    • Configuring the Exp System
    • Damage Numbers Display Guide
    • Upcoming Features Preview
    • Release Notes
  • RSOFramework
Powered by GitBook
On this page
  1. Frameworks
  2. Common Stat

Action

If you need to listen for value changes, You can listen to it as follows. You can listen from CommonStatRuntimeSO.

/// <summary>
/// The two int are Value and MaxValue.
/// </summary>
public void AddAction(string _valueName, UnityAction<int, int> _unityAction)

public void RemoveAction(string _valueName, UnityAction<int, int> _unityAction)

PreviousRuntimeNextFormula

Last updated 3 months ago