public void SetTails(Emotion emotion, GameObject tailObject, Sprite tail, float intensity, Color color)
        {
            Image image = tailObject.GetComponent <Image>();

            image.sprite = tail;
            image.color  = color;

            DefaultData.PositionData positionData = DefaultData.Instance.GetDefaultPositions(emotion.Get(), intensity, tailObject.name);
            tailObject.GetComponent <RectTransform>().anchorMin     = positionData.anchorMin;
            tailObject.GetComponent <RectTransform>().anchorMax     = positionData.anchorMax;
            tailObject.GetComponent <RectTransform>().localRotation = positionData.localRotation;
        }
        public void SetTexts(BalloonsHooks hooks, TextData textData, Color color, Emotion emotion)
        {
            if (!hooks.text)
            {
                return;
            }
            DefaultData.PositionData positionData = DefaultData.Instance.GetTextSizes(emotion.Get());
            RectTransform            rect         = hooks.text.GetComponent <RectTransform>();

            hooks.text.font  = textData.font;
            hooks.text.color = color;
            rect.anchorMin   = positionData.anchorMin;
            rect.anchorMax   = positionData.anchorMax;
        }
        public void SetSprites(Emotion emotion, BalloonsHooks hooks, SpriteData spriteData, float intensity, Color color, bool options)
        {
            if (!hooks || options)
            {
                return;
            }
            Image image = hooks.balloon.GetComponent <Image>();

            DefaultData.PositionData positionData = DefaultData.Instance.GetDefaultPositions(emotion.Get(), intensity, hooks.balloon.name);
            RectTransform            rect         = hooks.balloon.GetComponent <RectTransform>();

            image.sprite   = spriteData.sprite;
            image.color    = color;
            rect.anchorMin = positionData.anchorMin;
            rect.anchorMax = positionData.anchorMax;

            SetTails(emotion, hooks.tailTopLeft, spriteData.tail, intensity, color);
            SetTails(emotion, hooks.tailBotLeft, spriteData.tail, intensity, color);
            SetTails(emotion, hooks.tailTopRight, spriteData.tail, intensity, color);
            SetTails(emotion, hooks.tailBotRight, spriteData.tail, intensity, color);
        }