public void Set(PTLogoColor color, Font font, string value)
 {
     GetComponentInChildren <Image>().color = PT.GetOfficialColor(color);
     GetComponentInChildren <Text>().text   = value;
     GetComponentInChildren <Text>().font   = font;
 }
示例#2
0
 private void Start()
 {
     GetComponentInChildren <Image>().color = PT.GetOfficialColor(color);
 }