Exemple #1
0
 public void ReInitRect()
 {
     rect = new MenuRect();
     rect.SetScale(scale);
     rect.SetLayout_X(xLayout);
     rect.SetLayout_Y(yLayout);
     rect.SetDefaultModeValues(x * xCoef + additionalX, y * yCoef + additionalY, w * wCoef + additionalW, h * hCoef + additionalH);
 }
 public void ReInitMenuRect()
 {
     rect = new MenuRect();
     rect.SetScale(scale);
     rect.SetLayout_X(xLayout);
     rect.SetLayout_Y(yLayout);
     rect.SetDefaultModeValues(x, y, w, h);
 }