Files

14 lines
494 B
Plaintext

URL: https://wiki.studiominus.nl/internalReference/ActOnDestroy.html
Title: People Playground Modding - ActOnDestroy
==================================================
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