Bullet und Pistolen prefab und Pausen Menue angefangen
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
//Oliver
|
||||
using UnityEngine;
|
||||
public class PausenManager : MonoBehaviour
|
||||
{
|
||||
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 33345f0f372370e4d903e361cc6ec87c
|
||||
@@ -9,13 +9,11 @@ public class PlayerController : MonoBehaviour
|
||||
private Text score;
|
||||
private int points;
|
||||
private 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()
|
||||
{
|
||||
position = Vector3.zero;
|
||||
|
||||
Reference in New Issue
Block a user