Basic Unity Scripts


using UnityEngine;
using UnityEngine.UI;
using System.Collections;

public class PlayerController : MonoBehaviour {
public GameObject[] prefabs;

public float speed;
public Vector3 jump;
public Text countText;
public Text winText;

private Rigidbody rb;
private int count;