Property | Type | Description | |
---|---|---|---|
OnFragmentsGenerated | System.Action
|
||
allowRuntimeFragmentation | bool | ||
extraPoints | int | ||
fragmentLayer | string | ||
fragments | List |
||
orderInLayer | int | ||
shatterType | ShatterType | ||
sortingLayerName | string | ||
subshatterSteps | int |
Method | Description | |
---|---|---|
OnDrawGizmos ( ) : void | ||
deleteFragments ( ) : void | ||
explode ( ) : void |
Creates fragments if necessary and destroys original gameobject
|
|
fragmentInEditor ( ) : void |
Creates fragments and then disables them
|
Method | Description | |
---|---|---|
generateFragments ( ) : void |
Turns Gameobject into multiple fragments
|
|
rotateAroundPivot ( Vector2 point, Vector2 pivot, Quaternion angle ) : Vector2 | ||
setPolygonsForDrawing ( ) : void |
public System.Action
|
||
return | System.Action
|