Last change
on this file since 379 was 325, checked in by alloc, 6 years ago |
Code style cleanup (mostly whitespace changes, enforcing braces, using cleanup)
|
File size:
265 bytes
|
Line | |
---|
1 | using UnityEngine;
|
---|
2 |
|
---|
3 | namespace AllocsFixes {
|
---|
4 | public static class AllocsUtils {
|
---|
5 | public static string ColorToHex (Color _color) {
|
---|
6 | return string.Format ("{0:X02}{1:X02}{2:X02}", (int) (_color.r * 255), (int) (_color.g * 255),
|
---|
7 | (int) (_color.b * 255));
|
---|
8 | }
|
---|
9 | }
|
---|
10 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.