Files
flufflparty-/FlufflParty/Assets/Scripts/Players/Player.cs
T
2023-01-28 11:47:30 +01:00

28 lines
565 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Player : MonoBehaviour
{
public bool activated = false;
protected bool wurfelt = false;
public GameObject camera;
protected Vector3 velocity = Vector3.zero;
protected Vector3 cameraOffset = new Vector3(-2.81f, 8.13f, 5.6f);
//Aktiviert den Player
public void Activate()
{
activated = true;
wurfelt = false;
}
//Deaktiviert den Player
public void DeActivate()
{
activated = false;
}
}