Heres my code i made sure that SpaceCoreInArea is 1 and yet it does not say "work" when i jump!
#pragma strict
function Start () {
}
function Update () {
if(PlayerInArea.SpaceCoreInArea == 1 && Input.GetKeyUp (KeyCode.Space)){
Debug.Log("Works");
}
}
↧