private void button8_Click(object sender, EventArgs e) { string s = textBox6.Text; float rz = GetFloat(ref s); textBox6.Text = s; SceneMan.ApplyRotation(new Vector3(0, 0, rz)); }