- Home /
Question is off-topic or not relevant
how can i fix this up so i can teleport?
#pragma strict
function Start () {
}
function Update () {
}
var: up=true
if touching object{
if var (up)==true{
goto (x,y,z)
}
}
if touching object{
if var (up)==false{
goto (x,y,z)
}
}
All you have here is pseudo-code (with no attempt to even have it syntactically correct) as a recipe for someone to write some code for you. Unity Answers does not write code for you. We answer single, specific technical questions to help you write your own code. Spend some time working through some tutorials.
Answer by Sisso · Mar 24, 2014 at 03:10 PM
Learning programming. There is a lot of resources out there, example:
http://forum.unity3d.com/threads/69938-Unity-3-Video-Training-Course-(FREE)-Walker-Boys
Follow this Question
Related Questions
how to teleport a character 2 Answers
Random Teleport Location 4 Answers
How to prevent an object from teleporting to another object on mouse-click? 2 Answers
Teleport Script? 4 Answers
Teleport objects 0 Answers