Question by
qalbhussain · Dec 06, 2015 at 03:26 PM ·
c#unity 5objectjumpplayerprefs
I'm having a problem while jumping an object in Unity 5
Hello Everyone, i have just starting using Unity 5 recently and i'm new to it. I am having problem while jumping. Im using c# .
**void Update () { if(Input.GetKeyDown(KeyCode.Space)){ GetComponent ().AddForce (Vector2.up jump); } }*
Please Help me ! Anyone know if my code is write or wrong. :(
Comment