FirstModulAR 0.1.0
Loading...
Searching...
No Matches
MeshFireStarter Class Reference

Manages the fire effect on a mesh, including turning on the mesh when the mesh has been set. More...

Inheritance diagram for MeshFireStarter:

Public Member Functions

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.
 

Properties

MagioObjectEffect FireEffect [get]
 Gets the fire effect component.
 
AudioSource AudioSource [get]
 Gets the audio source component.
 

Detailed Description

Manages the fire effect on a mesh, including turning on the mesh when the mesh has been set.

Member Function Documentation

◆ 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.

Property Documentation

◆ 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: