Quantcast
Channel: Latest Questions by brandonhotdo
Viewing all articles
Browse latest Browse all 108

If statement not working!?

$
0
0
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"); } }

Viewing all articles
Browse latest Browse all 108

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>