void onGraphicsDeviceReset() { var layout = new Layout(Core.graphicsDevice.Viewport); _position = layout.place(new Vector2(width, barHeight), 0, 0.01f, Alignment.BottomCenter); }
void onGraphicsDeviceReset() { var layout = new Layout( Core.graphicsDevice.Viewport ); _position = layout.place( new Vector2( width, barHeight ), 0, 0.01f, Alignment.BottomCenter ); }