Material Icons helper class providing easy access to Google Material Design Icons.
More...
|
| static string | GetIcon (string iconName) |
| | Gets the unicode character for a Material Icon by name Example: GetIcon("home") returns "\ue88a".
|
| |
| static string | GetIconUnicode (string iconName) |
| | Gets the unicode hex code for a Material Icon by name Example: GetIconUnicode("home") returns "e88a".
|
| |
| static string | GetIconWithText (string iconName, string text, string separator=" ") |
| | Gets the unicode character with a prefix text Example: GetIconWithText("home", "Home") returns "\ue88a Home".
|
| |
| static string | GetTextWithIcon (string text, string iconName, string separator=" ") |
| | Gets the unicode character with a suffix text Example: GetTextWithIcon("Home", "home") returns "Home \ue88a".
|
| |
| static bool | IconExists (string iconName) |
| | Checks if an icon name exists in the database.
|
| |
| static List< string > | GetAllIconNames () |
| | Gets all available icon names.
|
| |
| static int | GetIconCount () |
| | Gets the total number of available icons.
|
| |
| static List< string > | SearchIcons (string searchTerm) |
| | Searches for icons containing the search term.
|
| |
| static Font | GetFont () |
| | Gets the Material Icons font for runtime use (loads from Resources)
|
| |
Material Icons helper class providing easy access to Google Material Design Icons.
Supports both runtime UI (TextMeshPro) and editor UI (IMGUI). Use GetIcon() to get unicode characters for icons, or use the extension methods for easy integration with TextMeshPro components.