Integrating a Component into Runtime Studio
Step 1: Start with a Normal Component
public sealed class CharacterStats : MonoBehaviour
{
public float Health = 100f;
public float Attack = 10f;
public float Defense = 5f;
}Step 2: Make It Visible in Runtime Studio
Step 3: Register the Drawer
Step 4: Understand What You Get for Free
Built-in behavior
Step 5: Decide How Saving Should Work
Step 6: When You Need Custom Save Logic
Example: Custom Save Behavior
Step 7: Handle Runtime Behavior (Important)
Step 8: Understand Edit Isolation (Muted Components)
The problem
The solution
Last updated