Skip to content

Instantly share code, notes, and snippets.

View hcorion's full-sized avatar

Zion hcorion

  • Canada, somewhere
  • 09:49 (UTC -07:00)
View GitHub Profile
using UnityEngine;
using System.Collections;
public class MovingScriptNew : MonoBehaviour {
public float horizontalSpeed = 4;
public float verticalSpeed = 2;
private float verticalMovement;
private float playerHorizontalMovement;
private Rigidbody myRigidbody;