Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //****** Donations are greatly appreciated. ******
- //****** You can donate directly to Jesse through paypal at https://www.paypal.me/JEtzler ******
- var bouncespeed : float = 0.002f;
- var bouncing = true;
- function Start() {
- itembounce();
- }
- function Update () {
- }
- function itembounce () {
- while(bouncing) {
- yield WaitForSeconds(0.2);
- itemBounceUp = false;
- yield WaitForSeconds(0.2);
- itemBounceUp = true;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement