InputImageLibrary
InputImageLibrary with a variety of dark and light themed icons for inputs on keyboard, xbox, touched events, mouse, and more.
Functions
GetPreloadAssetIds
InputImageLibrary:
GetPreloadAssetIds
(
) →
{
string
}
Retrieves all the asset ids to preload
GetSprite
InputImageLibrary:
GetSprite
(
keyCode:
any
,
--
The sprite keyCode to get
preferredStyle:
string
,
--
The preferred style type to retrieve this in
preferredPlatform:
string
--
The preferred platform to get the sprite for
) →
Sprite
Retrieves a sprite from the library
StyleImage
InputImageLibrary:
StyleImage
(
keyCode:
any
,
--
The sprite keyCode to get
preferredStyle:
string
,
--
The preferred style type to retrieve this in
preferredPlatform:
string
--
The preferred platform to get the sprite for
) →
Sprite
Styles a GUI for a specific keycode
local InputImageLibrary = require("InputImageLibrary")
InputImageLibrary:StyleImage(script.Parent, Enum.KeyCode.ButtonA)