Component:NoticeDisplayInterface

From Resonite Wiki
Component image 
Notice Display Interface component as seen in the Scene Inspector

The NoticeDisplayInterface component allows the user to make custom notification dialogues or notification banners by saving this component as part of an item's root and then setting it as the user's notification interface.

This component isn't fully implemented yet.

This is a favoriteable item. For more info, see Favorites.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
ItemName IField`1<String> The name of this favoritable item.
SpawningUser UserRef The user that spawned this favoritable item.
SpawningUserID IField`1<String> The field containing the ID of the user that spawned this favoritable item.
IsInstance Bool Whether this item is an instance.
Heading IField`1<String> The field to populate with what the notification header should be.
Icon IField`1<Uri> The field to populate with what the icon url should be for the notification.
Text IField`1<String> The field to populate with the notification text.
Color IField`1<Color> The field to populate with the color that the notification should be.

Usage

Attach to a slot and set up with a UI to display and use it's various fields. Upon saving, favoriting, and restarting the game, notifications will take on the new UI's appearance and behavior.

Examples

This article or section is a Stub. You can help the Resonite Wiki by expanding it.

See Also