hooks

package
v1.12.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendHookOnBeforeUpdate

func AppendHookOnBeforeUpdate(f func() error)

AppendHookOnBeforeUpdate appends a hook function that is run before the main update function every frame.

func OnResumeAudio added in v1.8.0

func OnResumeAudio(f func())

func OnSuspendAudio added in v1.8.0

func OnSuspendAudio(f func())

func ResumeAudio added in v1.8.0

func ResumeAudio()

func RunBeforeUpdateHooks

func RunBeforeUpdateHooks() error

func SuspendAudio added in v1.8.0

func SuspendAudio()

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL