Свойство | Тип | Описание | |
---|---|---|---|
OnFragmentsGenerated | System.Action
|
||
allowRuntimeFragmentation | bool | ||
extraPoints | int | ||
fragmentLayer | string | ||
fragments | List |
||
orderInLayer | int | ||
shatterType | ShatterType | ||
sortingLayerName | string | ||
subshatterSteps | int |
Метод | Описание | |
---|---|---|
OnDrawGizmos ( ) : void | ||
deleteFragments ( ) : void | ||
explode ( ) : void |
Creates fragments if necessary and destroys original gameobject
|
|
fragmentInEditor ( ) : void |
Creates fragments and then disables them
|
Метод | Описание | |
---|---|---|
generateFragments ( ) : void |
Turns Gameobject into multiple fragments
|
|
rotateAroundPivot ( Vector2 point, Vector2 pivot, Quaternion angle ) : Vector2 | ||
setPolygonsForDrawing ( ) : void |
public System.Action
|
||
Результат | System.Action
|