What you SHOULD be seeing, and what you WOULD be seeing if I could post a pic, would be:

// Update is called once per frame

void Update()

{

myRigidbody.velocity = Vector2(0, 1);

}

}

This is for Microsoft Visual Studio, for a Flappy Bird recreation, as I am a beginner just trying to figure out how to use the damn thing. However, when I put the code into MVS exactly as he did, the Unity game engine would give me an error message, basically telling me my code was dogshit.

Please help me out.

Thanks!

(P.S. IDFK why I have to add a link, so I just put some bullshit because yomom dot com was tryna get me to download some trojan to my shit immediately, and I'm not tryna get a bunch of people's shit infected).

submitted by /u/pentagrahm-cracker
[link] [留言]