AngeliA
Search Results for

    Show / Hide Table of Contents

    Class NotificationUI

    Display a temporarily notification on top of screen during gameplay

    Implements
    IMapItem

    Methods

    BeforeUpdate()

    [2/4] This function is called every frame when entity is in stage. Prioritize using this function to update physics logic.

    Declaration
    public override void BeforeUpdate()
    Overrides
    Entity.BeforeUpdate()

    OnActivated()

    This function is called when entity enter the stage

    Declaration
    public override void OnActivated()
    Overrides
    Entity.OnActivated()

    SpawnNotification(string, int)

    Require a notification. Call this function once for a single notification.

    Declaration
    public static void SpawnNotification(string content, int icon = -2147483648)
    Parameters
    Type Name Description
    string content

    Text content of the notification

    int icon

    Artwork sprite ID for the notification. Set to int.MinValue if no icon should be display.

    Update()

    [3/4] This function is called every frame when entity is in stage. Prioritize using this function to update physics logic.

    Declaration
    public override void Update()
    Overrides
    EntityUI.Update()

    UpdateUI()

    Declaration
    public override void UpdateUI()
    Overrides
    EntityUI.UpdateUI()
    Back to top ๐Ÿ„๐Ÿฆโ€โฌ›๐Ÿงฆ๐Ÿˆ๐ŸŽƒ๐Ÿ’“๐ŸŒนโ˜•๐Ÿดโ€โ˜ ๏ธ๐Ÿค