Skip to content

Instantly share code, notes, and snippets.

@ndrluis
Created November 18, 2013 10:40
Show Gist options
  • Select an option

  • Save ndrluis/7525814 to your computer and use it in GitHub Desktop.

Select an option

Save ndrluis/7525814 to your computer and use it in GitHub Desktop.
using UnityEngine;
using System.Collections;
public class PlayerBehaviour : MonoBehaviour {
public float speed = 6.0F;
public float jumpSpeed = 8.0F;
public float gravity = 20.0F;
private Vector3 moveDirection = Vector3.zero
// o resto do codigo .....
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment