public void CheckForRefeshRenderer()
    {
        Profiler.BeginSample("UI Particle depth object CheckForRefeshRenderer");
        bool recreateRenerer = false;
        bool refreshRenderer = false;

        if (willRectResizeInRuntime || !Application.isPlaying)
        {
            RectTrans.GetLocalCorners(previousObjectInfo.rectVerticesTmp);
            Vector3 newRectSize = previousObjectInfo.rectVerticesTmp[2] - previousObjectInfo.rectVerticesTmp[0];

            if (newRectSize != previousObjectInfo.rectSize)
            {
                recreateRenerer = true;
                refreshRenderer = true;
            }
        }

        if (!refreshRenderer && RectTrans.position != previousObjectInfo.position)
        {
            refreshRenderer = true;
        }


        if (!refreshRenderer && RectTrans.localScale != previousObjectInfo.scale)
        {
            refreshRenderer = true;
        }

        if (!refreshRenderer && RectTrans.rotation != previousObjectInfo.rotation)
        {
            refreshRenderer = true;
        }

        if (refreshRenderer)
        {
            RefreshRenderer(recreateRenerer);
        }
        Profiler.EndSample();
    }