Aego Русский

aego/particles

Use the session setting to compare the same route with and without the effects.

On this page

Example

package demo

import "aego/particles"

script Effects {
    func Ready() {
        particles.SetEnabled(true)
    }
}

Functions

Enabled() boolReports whether this world presents particle effects.
SetEnabled(enabled bool)Turns particles on or off in this Play world. Turning them off clears current effects.

Enabled function

func Enabled() bool

Reports whether this world presents particle effects.

Example

visible := particles.Enabled()

SetEnabled function

func SetEnabled(enabled bool)

Turns particles on or off in this Play world. Turning them off clears current effects.

Example

particles.SetEnabled(false)