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

As soon as the object is created, fade the alpha of the sprite to 0 and destroy. More...

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

Public Member Functions

void Awake ()
 Decide how long it should take to fade out and start the fading process. More...
 

Public Attributes

Range fadeRateRange = new Range(3, 6)
 

Detailed Description

As soon as the object is created, fade the alpha of the sprite to 0 and destroy.

Member Function Documentation

◆ Awake()

void FadeAndDestroy.Awake ( )

Decide how long it should take to fade out and start the fading process.

Member Data Documentation

◆ fadeRateRange

Range FadeAndDestroy.fadeRateRange = new Range(3, 6)

Minimum and maximum time span value to fade the object before destroying.


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