Hi im totally new to unity and im having trouble with this.
Im having a gui text and im trying to make it active after i click on an object. im thinking of using:
function OnMouseDown()
{
“texty.active==true”
}
(texty is the gui text)
im putting this code in the object i wont to click but it wont accept it.
do i need to define texty like a public variable?
Any suggestions plz???..