Load a level at a specific point


I have what I consider a pretty simple question, but I am not sure if it would work. l want the player to touch a collider and send him to a specific point in a level. I just don’t know where or how to code that.

Here is some generic code to show:

function OnTriggerEnter(other:Collider)
    if (other.gameObject.tag == "Level")

I am just wondering if I can use vector3 to specify where I want to send the player, and if so, where do I insert this into the code?

Thanks in advance!

you can have a script and in OnLevelWasLoaded put your teleport code…