Manages the fire effect on a mesh, including turning on the mesh when the mesh has been set.
More...
|
| IEnumerator | Start () |
| | Initializes the fire effect and related components.
|
| |
| void | Update () |
| | Updates the fire effect properties each frame. "CameraPosition" is set to the position of the main camera, in order to allow the fire to optimize based on the camera's position.
|
| |
|
| MagioObjectEffect | FireEffect [get] |
| | Gets the fire effect component.
|
| |
| AudioSource | AudioSource [get] |
| | Gets the audio source component.
|
| |
Manages the fire effect on a mesh, including turning on the mesh when the mesh has been set.
◆ Start()
| IEnumerator MeshFireStarter.Start |
( |
| ) |
|
|
inline |
Initializes the fire effect and related components.
◆ Update()
| void MeshFireStarter.Update |
( |
| ) |
|
|
inline |
Updates the fire effect properties each frame. "CameraPosition" is set to the position of the main camera, in order to allow the fire to optimize based on the camera's position.
◆ AudioSource
| AudioSource MeshFireStarter.AudioSource |
|
get |
Gets the audio source component.
◆ FireEffect
| MagioObjectEffect MeshFireStarter.FireEffect |
|
get |
Gets the fire effect component.
The documentation for this class was generated from the following file: