TopDown Engine v4.5
Loading...
Searching...
No Matches
MoreMountains.TopDownEngine.DungeonPortal Class Reference

A class used in the Koala demo to emit particles if a spawner is active and stop them otherwise. More...

Inheritance diagram for MoreMountains.TopDownEngine.DungeonPortal:
MoreMountains.TopDownEngine.TopDownMonoBehaviour MoreMountains.Tools.MMMonoBehaviour

Public Attributes

ParticleSystem SpawnParticles
 the particles to play while the portal is spawning

Protected Member Functions

virtual void Awake ()
 On Awake we grab our timed spawner.
virtual void Update ()
 On Update, we stop or play our particles if needed.

Protected Attributes

TimedSpawner _timedSpawner

Detailed Description

A class used in the Koala demo to emit particles if a spawner is active and stop them otherwise.

Member Function Documentation

◆ Awake()

virtual void MoreMountains.TopDownEngine.DungeonPortal.Awake ( )
protectedvirtual

On Awake we grab our timed spawner.

◆ Update()

virtual void MoreMountains.TopDownEngine.DungeonPortal.Update ( )
protectedvirtual

On Update, we stop or play our particles if needed.

Member Data Documentation

◆ _timedSpawner

TimedSpawner MoreMountains.TopDownEngine.DungeonPortal._timedSpawner
protected

◆ SpawnParticles

ParticleSystem MoreMountains.TopDownEngine.DungeonPortal.SpawnParticles

the particles to play while the portal is spawning


The documentation for this class was generated from the following file:
  • H:/Code/MoreMountains/topdownengine/Assets/TopDownEngine/Demos/Koala2D/Scripts/DungeonPortal.cs