var Bound2 = Transform;
var Bound1 = Transform;
var target = Transform;
var RespawnPoint = Vector3(0,-1.99,0);
function Update () {
transform.position = target.position;
if(Input.GetKeyDown(KeyCode.Space))
target.position = target.position;
if(target.position < Bound1.position)
transform.position = RespawnPoint;
if(target.position < Bound2.position)
transform.position = RespawnPoint;
}
Why it’s telling me position not member of System.Type?
I really have to hurry up, me and my friend are making a challenge who is ready first with a Keep-The-Ball-Up kinda game. ( We are both really big noobs to Unity3D).