Custom Shortcut Icons (Settings + AddShortcut)
Last updated
Use custom shortcut icons reliably (primarily Android) when calling AppShortcutsAddShortcut.
AppShortcutsAddShortcut
AppShortcutsGetAddShortcutError (optional)
Open: Window → Essential Kit → Settings → App Shortcuts
Add your shortcut icon textures to the Icons list.
Call AppShortcutsAddShortcut.
Set iconFileName to the icon file name you want to use (must include extension, e.g., play.png).
If AppShortcutsAddShortcut fails, call AppShortcutsGetAddShortcutError to read errorCode + errorDescription.
iconFileName must refer to a texture present in the AppShortcuts settings Icons list; otherwise the icon won’t show up.
Last updated