bool ShowCreateBodyRenderer { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The ShowCreateBodyRenderer property of the PlayerController class is a boolean value that determines whether the "create body" button should be displayed. When set to true, the button will be visible, allowing users to create a body renderer for the player.

Usage

To use the ShowCreateBodyRenderer property, simply set it to true or false depending on whether you want the "create body" button to be shown or hidden. This property is useful for developers who want to provide an option to create a body renderer dynamically in their game.

Example

// Example of setting the ShowCreateBodyRenderer property
PlayerController playerController = new PlayerController();
playerController.ShowCreateBodyRenderer = true; // This will show the "create body" button

// Later in the code, you can check the property to decide whether to display the button
if (playerController.ShowCreateBodyRenderer)
{
    // Code to display the "create body" button
}