bool ShowColliderComponents { get; set; }

robot_2Generated
code_blocksInput

Description

The ShowColliderComponents property of the PlayerController class is a boolean value that determines whether the collider components associated with the player should be displayed. This property is useful for debugging purposes, allowing developers to visually inspect the colliders in the game scene.

Usage

To use the ShowColliderComponents property, simply set it to true or false depending on whether you want to display the collider components:

PlayerController playerController = new PlayerController();
playerController.ShowColliderComponents = true; // Enable collider component visualization

Example

PlayerController playerController = new PlayerController();
playerController.ShowColliderComponents = true; // Enable collider component visualization