static void SetSizeConfig(RectNode nb, TagAttributes att, Vector2 size)
        {
            nb.width  = att.getValueAsFloat("w", size.x);
            nb.height = att.getValueAsFloat("h", size.y);

            switch (att.getValueAsInteger("t", 0))
            {
            case 1: nb.height = nb.width * size.y / size.x; break;

            case 2: nb.width = nb.height * size.x / size.y; break;
            }
        }
 static void ParamEffectType(ref Config config, TagAttributes att)
 {
     config.effectColor      = ParserColorName(att.getValueAsString("c"), 0, Color.black);
     config.effectDistance.x = att.getValueAsFloat("x", 1f);
     config.effectDistance.y = att.getValueAsFloat("y", 1f);
 }