The ShowCreateBodyRenderer
property of the PlayerController
class determines whether the "create body" button should be displayed. When set to true
, the button will be visible, allowing users to initiate the creation of a body renderer.
The ShowCreateBodyRenderer
property of the PlayerController
class determines whether the "create body" button should be displayed. When set to true
, the button will be visible, allowing users to initiate the creation of a body renderer.
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.
// 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 might want to hide it playerController.ShowCreateBodyRenderer = false; // This will hide the "create body" button