notification.gd

Extends: CanvasLayer

Description

A generic notification

Method Descriptions

notify

func notify(icon: Texture, sound: AudioStream = null)

Show a generic notification with an icon and (optionally) sound

** Parameters **

  • icon: A texture showing the icon of the notification

  • sound: Sound that should be played