Switch Scenes

SwitchScene.cs

Size: 0.4 KB

You need to login to download this file.

  1. Put the 'Player' tag on your playermodel
  2. Give you playermodel an
    1. Rigidbody
    2. Collider
  3. Create and object you want to collide with
  4. Give it a collider and check "Is Trigger"
  5. Put the SwitchScene.cs script onto the (teleport) object
  6. Fill in the index you are in (you can find these in your build settings)

recommended