Skip to main content
6 events
when toggle format what by license comment
Feb 24, 2023 at 7:42 comment added MXMLLN Note: There are a lot of ways to input color. Gradients are a common solution for Brick Breaker games like mine, and they're serializable. Check some of the built in scriptable objects for more possibilities, eg, TextMesh Pro's Color Gradient (Right click in your Assets folder and look under Create).
Jun 7, 2022 at 3:55 comment added kanamekun Many thanks, I'm just getting started on my programming journey so appreciate the link to the API docs!
Jun 6, 2022 at 11:27 comment added DMGregory Read the API documentation. It explains that lowercase string is an alias of System.String, and the Unity docs show the correct capitalization of Color and Color32.
Jun 6, 2022 at 5:05 comment added kanamekun Wow thanks! I had tried "color" but it didn't work... didn't realize that it was case sensitive! Funny thing is that "string" wasn't case sensitive...
Jun 6, 2022 at 5:05 vote accept kanamekun
Jun 6, 2022 at 4:54 history answered aidangig CC BY-SA 4.0