DinoFracture 2.11.1
A Dynamic Fracture Library
Loading...
Searching...
No Matches

DinoFracture.NotifyOnFracture Class Reference

When added to the same game object as the FractureGeometry, this script can be used to notify external game objects of this object’s fracture completion. The external objects need a script with the “OnFracture” callback method. More...

Inherits MonoBehaviour.

Public Attributes

GameObject[] GameObjects = new GameObject[1]
 The array of game objects to notify. They do not need to be in this object’s tree.
 

Detailed Description

When added to the same game object as the FractureGeometry, this script can be used to notify external game objects of this object’s fracture completion. The external objects need a script with the “OnFracture” callback method.