Свойство | Type | Description | |
---|---|---|---|
OnFragmentsGenerated | System.Action
|
||
allowRuntimeFragmentation | bool | ||
extraPoints | int | ||
fragmentLayer | string | ||
fragments | List |
||
orderInLayer | int | ||
shatterType | ShatterType | ||
sortingLayerName | string | ||
subshatterSteps | int |
Méthode | Description | |
---|---|---|
OnDrawGizmos ( ) : void | ||
deleteFragments ( ) : void | ||
explode ( ) : void |
Creates fragments if necessary and destroys original gameobject
|
|
fragmentInEditor ( ) : void |
Creates fragments and then disables them
|
Méthode | Description | |
---|---|---|
generateFragments ( ) : void |
Turns Gameobject into multiple fragments
|
|
rotateAroundPivot ( Vector2 point, Vector2 pivot, Quaternion angle ) : Vector2 | ||
setPolygonsForDrawing ( ) : void |
public System.Action
|
||
Résultat | System.Action
|