| | |
| | | [RequireComponent(typeof(UIEffectPlayer))] |
| | | public class GuildEmblemCell : MonoBehaviour |
| | | { |
| | | [SerializeField] ImageEx emblemIcon; |
| | | [SerializeField] Image emblemIcon; |
| | | [SerializeField] UIFrame frame; |
| | | [SerializeField] UIEffectPlayer uiEffect; |
| | | [Header("字 F9E29F 包边 683C00 字号36 Y:-9")] |
| | |
| | | { |
| | | return; |
| | | } |
| | | if (emblemIcon == null) |
| | | { |
| | | Debug.LogError("公会徽章未设置"); |
| | | return; |
| | | } |
| | | |
| | | // 徽章动态效果按帧处理,如果后续要改成spine特效,则再商议修改 |
| | | // 目前特效为附加表现 |
| | |
| | | if (effectID != 0) |
| | | { |
| | | uiEffect.effectId = effectID; |
| | | uiEffect.isPlaySpineLoop = true; |
| | | uiEffect.Play(); |
| | | } |
| | | } |