#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)
}
}
#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)
}
}
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