static void BreakProceduralBone( GameObject go )

book_4_sparkGenerated
code_blocksInput

Description

The BreakProceduralBone method is a static extension method provided by the Editor.SceneEditorExtensions class. It is used to break a procedural bone within a GameObject. This method is particularly useful in scenarios where you need to manipulate or modify the procedural bones of a game object, such as in animation or physics simulations.

Usage

To use the BreakProceduralBone method, you need to have a GameObject instance that contains procedural bones. You can call this method directly on the GameObject instance due to its nature as an extension method.

Parameters:

  • go: The GameObject instance whose procedural bone you want to break.

Example

// Example usage of BreakProceduralBone
GameObject myGameObject = new GameObject();

// Assuming myGameObject has procedural bones
Editor.SceneEditorExtensions.BreakProceduralBone(myGameObject);