24 lines
473 B
C#
24 lines
473 B
C#
//Oliver
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
public class PlayerController : MonoBehaviour
|
|
{
|
|
private int speed;
|
|
Vector3 position = Vector3.zero;
|
|
private Text score;
|
|
private int points;
|
|
Rigidbody rb;
|
|
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
|
void Start()
|
|
{
|
|
rb = GetComponent<Rigidbody>;
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
}
|