-
What is the best way to use icons in UI at the moment, I have been just been putting the icon image in my gamemode folder and then putting it in as a background image. I would like to use something such as google icons or font awesome however I can't find a way to use them without using a template and if I use a template then I would need to create a new template each time I want to use a different icon, or is it possible to edit templates in c#? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Never mind I was being stupid. Can just use panel.Add.Icon |
Beta Was this translation helpful? Give feedback.
-
You can use the in built panel, but if you want to do it manually you just do: <label class="icon">emoji_people</label> .icon
{
font-family: MaterialIcons;
} You can search here for the icons: https://fonts.google.com/icons |
Beta Was this translation helpful? Give feedback.
Never mind I was being stupid. Can just use panel.Add.Icon