Пример #1
0
        public override bool SetValue(string[] inNewValue)
        {
            PValue x, y;

            if (PValue.TryParse(inNewValue[0], out x) && PValue.TryParse(inNewValue[1], out y))
            {
                return(SetValue(new PVector2(x, y)));
            }

            return(false);
        }
Пример #2
0
 public PVector2(PValue inX, PValue inY)
 {
     x = inX;
     y = inY;
 }