Hello, i want learn walking plane name ?
Example is problem ;
function OnTriggerEnter(other : Collider) {
if (other.tag == "Plane") {
print("yes");
}
}
Plane is trigger , fly my first person character.
i want example ;
var snowP : GameObject;
if (plane name == “snowFloor”) {
snowP.active = true;
}
Best regards.