class MAGES::GameObjectDestroyListener¶
Overview¶
A component that listens for the destruction of the GameObject it is attached to. More…
class GameObjectDestroyListener: public MonoBehaviour
{
public:
// properties
System.Action Destroyed;
};
Detailed Documentation¶
A component that listens for the destruction of the GameObject it is attached to.
Properties¶
System.Action Destroyed
Gets or sets the action to be executed when the GameObject is destroyed.