public override void Initialize()
    {
        base.Initialize();
        if (this.Args == null)
        {
            return;
        }
        checkHandler = RegEventHandler <CEvent.RedDot.Refresh>(OnRefreshEvent);

        RedPointData redData = this.Args[0] as RedPointData;

        dotType = redData.dot;
        mCheck  = redData.cb;

        ShowDot();
    }
    private void ShowDot()
    {
        // 如果有子红点, 就不需要回调
        if (children != null && children.Count > 0)
        {
            mCheck = null;
        }

        isShow = GetIsShow();

        // 显示自己的数据
        if (redPointUI != null)
        {
            redPointUI.transform.localScale = isShow ? Vector3.one : Vector3.zero;
        }

        // 通知父红点改变数据
        SetParentData();
    }