Documentation

Page contents

Updated

Generate PDF from page.

Runtime Debugger Settings Prefab Toggle Behavior

Files: CGFRuntimeDebuggerSettingsPrefabToggleBehavior.cs

Path: "CGF/Systems/RuntimeDebugger/Scripts/Settings"

Description

Behavior that allows the associated gameobject a toggle control in a debugging context.

Reference

  • Label – Displays descriptive text for this button's functionality in the debug environment.
  • Toggle – Holds the Unity Toggle component used for user interaction in the debug environment.

Use

Add this component to the GameObject that should own the behavior.
Configure the inspector fields listed in Reference and assign the required scene or asset references before entering Play Mode.