INotificationBuilder.WithIcon method
Show a custom icon in the toast’s 16px icon slot instead of the baked kind glyph.
public INotificationBuilder WithIcon(object? texture, UvRect uv)| parameter | description |
|---|---|
| texture | A boxed UnityEngine.Texture handle (e.g. from LoadItemIcon). Pass null to keep the baked kind glyph. |
| uv | The atlas UV sub-rect for the texture (ignored when texture is null). |
See Also
Section titled “See Also”- struct UvRect
- interface INotificationBuilder
- namespace Stellar.Abstractions.Services