ProudDesk Posted December 22, 2020 Share Posted December 22, 2020 How would I use color in UI.Notify()? Link to comment Share on other sites More sharing options...
LeeC22 Posted December 22, 2020 Share Posted December 22, 2020 (edited) 5 minutes ago, ProudDesk said: How would I use color in UI.Notify()? These are some text codes you can use. ~r~ = Red ~b~ = Blue ~g~ = Green ~y~ = Yellow ~p~ = Purple ~o~ = Orange ~c~ = Grey? ~m~ = Darker Grey ~u~ = Black ~n~ = New Line ~s~ = Default White ~w~ = White ~h~ = Bold Text Put them before the text you want to show in colour. So: UI.Notify("This is ~r~Red ~s~and this is ~b~Blue"); This works for Subtitles as well. Edited December 22, 2020 by LeeC22 Link to comment Share on other sites More sharing options...
ProudDesk Posted December 22, 2020 Author Share Posted December 22, 2020 1 minute ago, LeeC22 said: These are some text codes you can use. ~r~ = Red ~b~ = Blue ~g~ = Green ~y~ = Yellow ~p~ = Purple ~o~ = Orange ~c~ = Grey? ~m~ = Darker Grey ~u~ = Black ~n~ = New Line ~s~ = Default White ~w~ = White ~h~ = Bold Text Put them before the text you want to show in colour. So: UI.Notify("This is ~r~Red ~s~and this is ~b~Blue"); Thank you :)) LeeC22 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now