유니티 color script로 변경 노트
Hexadecimal 이용한 color 변경 public Button btn; btn = GetComponent(); Color newColor; if(ColorUtility.TryParseHtmlString("#7F7E83FF", out color)){ btn.image.color = newColor; } Unity - Scripting API: ColorUtility.TryParseHtmlString (unity3d.com) #RGB (becomes RRGGBB) #RRGGBB #RGBA (becomes RRGGBBAA) #RRGGBBAA Unity - Scripting API: ColorUtility.TryParseHtmlString Strings that begin with '#' will be ..
Unity/C# note
2020. 12. 20. 22:26