32 config.bgColor = bG.
color;
36 t.type = Image.Type.Sliced;
37 RectTransform rectTransform = t.Rect();
38 rectTransform.sizeDelta =
new Vector2(bG.
size.x, bG.
size.y) + t.sizeFix +
new Vector2(config.
bgSize, config.
bgSize);
39 rectTransform.anchoredPosition = bG.
offset;
49 t.texture = ((grid.sprite !=
null) ? grid.
sprite.texture :
null);
57 Shadow shadow = t.GetComponent<Shadow>();
62 shadow = t.gameObject.AddComponent<Shadow>();
66 shadow.enabled =
true;
70 else if ((
bool)shadow)
72 shadow.enabled =
false;
static SkinManager Instance
override void ApplySkin(UIRawImage t)
virtual SkinConfig Config
override void ApplySkin(UIText t, FontSource f)
override SkinColorProfile GetColors(SkinType type)
override SkinAsset_Button GetButton()
override SkinColorProfile Colors
override void ApplySkin(UIImage t)