Is there a built-in button like behavior or does anyone have an example of how you could setup a target object to respond when it is clicked on?
Check in users/shared/unity/script tutorial/assets/ In there you'll find some examples that will help you out. I think that's where they are by default anyway.
Code (csharp): function OnMouseDown () { /* load the level named start */ Application.LoadLevel ("start"); } Also, if this is a GUIText button, you can make it expand and change colour by putting this script into it ... Code (csharp): /* This behavior script changes the material color to the highlightColor when the mouse hovers over the text. The highlightColor can be modified in the inspector. */ /* It also scales the object to be slightly larger on mouse enter, then back to normal size when the mouse leaves the object. */ var highlightColor = Color.yellow; function OnMouseEnter () { guiText.material.color = highlightColor; transform.localScale = Vector3 (2.2, 2.2, 2.2); } function OnMouseExit () { guiText.material.color = Color.white; transform.localScale = Vector3 (2, 2, 2); } Welcome to Unity! I also agree with nmceri, check out all of the scripting examples ... alot of basic functionality is shown in them.
Thank you both for the info. I'll spend some more time with the provided samples and documentation. I guess I just need to locate the scripting reference and start reading up on what event different object respond to.