private SetHeight ( float newHeight ) : void | ||
newHeight | float | |
Результат | void |
private void SetHeight(float newHeight)
{
if (newHeight != base.position.height)
{
base.minSize = new Vector2(233f, newHeight);
base.maxSize = new Vector2(233f, newHeight);
}
}