ui基本完毕,修了一大把的bug
This commit is contained in:
@@ -17,6 +17,9 @@ public class idolSkillsHub : MonoBehaviour
|
||||
|
||||
[Header("displaying")]
|
||||
public Material disgot_grayMtr;
|
||||
public Sprite enabled_btmSprite;
|
||||
public Sprite disabled_btmSprite;
|
||||
public Sprite unlock_btmSprite;
|
||||
public Color enabled_btmColor = Color.white;
|
||||
public Color disabled_btmColor = Color.white;
|
||||
public Color unlock_btmColor = Color.gray;
|
||||
@@ -99,6 +102,7 @@ public class idolSkillsHub : MonoBehaviour
|
||||
string displayName = hideLockedIdentity ? "\u672a\u89e3\u9501\u6280\u80fd" : (group.groupName ?? string.Empty);
|
||||
string detailName = displayName;
|
||||
string detailDescription = hideLockedIdentity ? "\u6b64\u6280\u80fd\u5c1a\u672a\u89e3\u9501\u3002" : (group.skillDescriptionsText ?? string.Empty);
|
||||
Sprite bottomSprite = equipped ? enabled_btmSprite : (unlocked ? disabled_btmSprite : unlock_btmSprite);
|
||||
Color bottomColor = equipped ? enabled_btmColor : (unlocked ? disabled_btmColor : unlock_btmColor);
|
||||
Material iconMaterial = unlocked ? null : disgot_grayMtr;
|
||||
|
||||
@@ -119,6 +123,7 @@ public class idolSkillsHub : MonoBehaviour
|
||||
displayName,
|
||||
detailName,
|
||||
detailDescription,
|
||||
bottomSprite,
|
||||
bottomColor,
|
||||
iconMaterial,
|
||||
enableToggleValue,
|
||||
|
||||
Reference in New Issue
Block a user