public class ActOnDestroy

Inherits MonoBehaviour

Behaviour that invokes an event when it is destroyed

Fields

public UnityEvent Event

The event that is invoked when the behaviour is destroyed


public GameObject[] DestroyWith

[SkipSerialisation]

An array of other objects that will be destroyed when this behaviour is destroyed


Attention!

This member is obsolete and should not be used. It is a remnant from the past.

bi bij bibi