프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |