private void Picker_OnParticleDragged(object sender, pickerVR.ParticlePickEventArgs e) { pickArgs = e; }
/*void OnGUI() * { * // Make a background box * GUI.Box(new Rect(10, 10, 100, 25), "Confirm Menu"); * * // Make the first button. If it is pressed, Application.Loadlevel (1) will be executed * if (GUI.Button(new Rect(20, 40, 80, 20), "Fold")) * { * pin_rotate_ready(); * flag = 1; * } * if (GUI.Button(new Rect(20, 60, 80, 20), "Axis")) * { * if (twoobject[1] != null && twoobject[0] != null) * { * //particle_drawline_initial(); * mod2 = 0; rotateaxis = twoobject[1].transform.position - twoobject[0].transform.position; * rotatepoint = (twoobject[1].transform.position + twoobject[0].transform.position) / 2; * button_choose = 1; lineflag = 0; //Debug.Log("ssnow1"); * } * //pin_rotate_ready(); * } * * if (GUI.Button(new Rect(20, 80, 80, 20), "Reset")) * { * //Debug.Log("psda"); * reset_line(); * } * * } */ private void Picker_OnParticleReleased(object sender, pickerVR.ParticlePickEventArgs e) { pickArgs = null; //Debug.Log("come on"); }