I create a cube ,want when player into this area show a guitext.
I attech this to cube
public var MySkin: GUISkin;
var Missontext:GUIText;
function OnTriggerEnter (other : Collider) {
GUI.skin = MySkin;
Missontext.text=“jiefjlsdkfj”;
}
but nothing happen, please give me a mathed!