| | |
| | | { |
| | | public const float tweenDuration = 0.5f; |
| | | |
| | | public const float delayDuration = 0.6f; |
| | | public const float delayDuration = 1.1f; |
| | | |
| | | public const float beginingX = 400f; |
| | | |
| | |
| | | |
| | | imgIcon.sprite = UILoader.LoadSprite("HeroHead", teamHero.skinConfig.SquareIcon); |
| | | imgSkillName.sprite = UILoader.LoadSprite("SkillNameIcon", skillConfig.SkillTipsName); |
| | | |
| | | imgSkillName.SetNativeSize(); |
| | | // 保证开始时所有图片为可见(alpha=1) |
| | | if (imageBg != null) { var c = imageBg.color; c.a = 1f; imageBg.color = c; } |
| | | if (imgIcon != null) { var c = imgIcon.color; c.a = 1f; imgIcon.color = c; } |