Menue scene mit funktionierenden Buttons und Start Script für den PlayerController
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
//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()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user