Adventure Creator
1.79.1
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2022
|
Public Member Functions | |
void | TurnOn () |
void | TurnOff () |
void | Pause () |
void | Interact () |
Public Attributes | |
bool | enableOnStart = false |
Protected Member Functions | |
void | Awake () |
void | Switch (bool turnOn) |
Protected Attributes | |
ParticleSystem | _particleSystem |
Properties | |
ParticleSystem | ParticleSystem [get] |
This script provides functions to enable and disable the ParticleSystem component on the GameObject it is attached to. These functions can be called either through script, or with the "Object: Send message" Action.
void AC.ParticleSwitch.Interact | ( | ) |
Causes the ParticleSystem component on the GameObject to emit its maximum number of particles in one go.
void AC.ParticleSwitch.Pause | ( | ) |
Pauses the ParticleSystem component on the GameObject this script is attached to.
void AC.ParticleSwitch.TurnOff | ( | ) |
Disables the ParticleSystem component on the GameObject this script is attached to.
void AC.ParticleSwitch.TurnOn | ( | ) |
Enables the ParticleSystem component on the GameObject this script is attached to.
bool AC.ParticleSwitch.enableOnStart = false |
If True, then the Light component will be enabled when the game begins.
|
getprotected |
The ParticleSystem attached to the GameObject