public void HitEffectPlay_Cri()
    {
        var hitEffect = ObjectPoolManager.instance.PopFromPool_HitEffect_Cri();

        hitEffect.GetComponent <Transform>().localPosition
            = FormulaCollection.PosNearByMonster(MonsterManager.instance.progressBarPos);
    }
    public decimal RealOffense()
    {
        decimal offense     = 0;
        var     textColor   = "#FFE400";
        var     offenseText = ObjectPoolManager.instance.PopFromPool_Offense();

        offense = (decimal)CharacterStatus.instance.AttackPower;    //여기 나중에 수치 받아와야함.
        offense = Math.Truncate(offense);

        if (CharacterState.instance.isCritical)
        {
            offense  *= ((decimal)CharacterStatus.instance.CriticalDamage);   //여기 나중에 수치 받아와야함.-크리티컬
            textColor = "#FF4A00";
            EffectManager.instance.HitEffectPlay_Cri();
        }
        else
        {
            EffectManager.instance.HitEffectPlay();
        }

        offense = (int)Math.Round(offense);
        if (offense < 1)
        {
            offense = 1;
        }
        offense *= BuffManager.instance.buffValue[1];
        //offense *= 10000;////////////////

        if (CharacterState.instance.isMonsterDef)
        {
            offenseText.transform.GetChild(0).gameObject.SetActive(true);
        }
        else
        {
            offenseText.transform.GetChild(0).gameObject.SetActive(false);
        }

        offenseText.GetComponent <TextMeshPro>().text = string.Format("<color={0}>{1}</color>", textColor, GameManager.NumberNotation_comma(offense));

        offenseText.GetComponent <RectTransform>().localPosition = FormulaCollection.PosNearByMonster(MonsterManager.instance.progressBarPos);
        offenseText.GetComponent <OffensePowerText>().StartTextUp();
        return(offense);
    }