How to use javascript to make a teleporter in unity

Опубликовано: 28 Сентябрь 2024
на канале: Quantum Paintball
2,995
8

hey guys this video is meant to teach you how to make a teleporter in unity. now it goes through how to get unity etc. it also teaches you everything you need to teleport and create your own script! thnx! this is the code if you dont get it.
var teleportTo : Transform;
functionOnTriggerEnter (col : Collider){
Put a tab here then type col.transform.position = teleportTo. position
}