hello fello game makers i was wondering if any can give me a script that make a particle that when the player goes in it its goes to the loader level if you can that will be great
thank you
hello fello game makers i was wondering if any can give me a script that make a particle that when the player goes in it its goes to the loader level if you can that will be great
thank you
You could make a box collider into a trigger, then put something like this on it:
//The player would have to be tagged "player"
function OnTriggerEnter (other : Collider) {
if(other.tag == "player"){
Application.LoadLevel ("LoaderLevel");
}
}
This doesn't include a particle effect but you can just drag it onto the box instead of including it in the script.