|  |  | 
 |  |  |  | 
 |  |  | public class SkillTips : MonoBehaviour | 
 |  |  | { | 
 |  |  |     public const float tweenDuration = 1f; | 
 |  |  |     public const float tweenDuration = 0.5f; | 
 |  |  |  | 
 |  |  |     public const float delayDuration = 0.4f; | 
 |  |  |     public const float delayDuration = 0.6f; | 
 |  |  |  | 
 |  |  |     public const float beginingX = 400f; | 
 |  |  |  | 
 |  |  | 
 |  |  |                 seq.OnComplete(() => | 
 |  |  |                 { | 
 |  |  |                     tween2 = null; | 
 |  |  |                     // 恢复图片 alpha,保证下次显示时可见 | 
 |  |  |                     if (imageBg != null) { var cc = imageBg.color; cc.a = 1f; imageBg.color = cc; } | 
 |  |  |                     if (imgIcon != null) { var cc = imgIcon.color; cc.a = 1f; imgIcon.color = cc; } | 
 |  |  |                     if (imgSkillName != null) { var cc = imgSkillName.color; cc.a = 1f; imgSkillName.color = cc; } | 
 |  |  |  | 
 |  |  |                     transform.localPosition = isRed ? new Vector3(-beginingX, posY, 0f) : new Vector3(beginingX, posY, 0f); | 
 |  |  |                     gameObject.SetActive(false); | 
 |  |  |                 }); | 
 |  |  | 
 |  |  |             tween3.Kill(); | 
 |  |  |             tween3 = null; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         // 被强制停止时也需要恢复 alpha | 
 |  |  |         if (imageBg != null) { var cc = imageBg.color; cc.a = 1f; imageBg.color = cc; } | 
 |  |  |         if (imgIcon != null) { var cc = imgIcon.color; cc.a = 1f; imgIcon.color = cc; } | 
 |  |  |         if (imgSkillName != null) { var cc = imgSkillName.color; cc.a = 1f; imgSkillName.color = cc; } | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | } |