少年修仙传客户端代码仓库
client_linchunjie
2018-08-13 c7a02107881e08d790bef739ec0d2643ad17d05c
2485【前端】红点新加领取类型
2个文件已修改
9 ■■■■■ 已修改文件
System/Redpoint/RedpointBehaviour.cs 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Utility/EnumHelper.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Redpoint/RedpointBehaviour.cs
@@ -47,6 +47,9 @@
        [SerializeField]
        Transform m_FullRedpoint;
        [SerializeField]
        Transform m_GetRewardRedpoint;
        bool m_Show = false;
        public bool show {
            get { return m_Show; }
@@ -98,6 +101,11 @@
                m_FullRedpoint.gameObject.SetActive(state == RedPointState.Full);
            }
            if (m_GetRewardRedpoint != null)
            {
                m_GetRewardRedpoint.gameObject.SetActive(state == RedPointState.GetReward);
            }
            if (state == RedPointState.Quantity && m_Quantity != null)
            {
                var count = RedpointCenter.Instance.GetRedpointCount(redpointId);
Utility/EnumHelper.cs
@@ -1039,6 +1039,7 @@
    Simple = 1,
    Quantity = 2,
    Full = 3,
    GetReward = 4,
}
public enum TeamInviteType