DoopelPonger
Public Member Functions | Public Attributes | List of all members
DestroyAfterWait Class Reference

Class to destroy a game object after a set period of time after it is spawned. More...

Inheritance diagram for DestroyAfterWait:
Inheritance graph
[legend]
Collaboration diagram for DestroyAfterWait:
Collaboration graph
[legend]

Public Member Functions

void Awake ()
 Starts the timer to wait before deleting the object. More...
 

Public Attributes

float waitTime
 

Detailed Description

Class to destroy a game object after a set period of time after it is spawned.

Member Function Documentation

◆ Awake()

void DestroyAfterWait.Awake ( )

Starts the timer to wait before deleting the object.

Member Data Documentation

◆ waitTime

float DestroyAfterWait.waitTime

The amount of time to wait before deleting the game object.


The documentation for this class was generated from the following file: