Handles.Buttonstatic function Button (position : Vector3, direction : Quaternion, size : float, pickSize : float, capFunc : DrawCapFunction) : booleanDescriptionMake a 3D Button. This works like a normal GUI.Button, but it has a 3D position and is drawn by a handle function Note: Use HandleUtility.GetHandleSize where you might want to have constant screen-sized handles.
// Create a simple button on 3D space and when the user clicks over the handle And the script attached to this handle: // Usage: Place this script on the object you want to create the button on. |

