MOD: Zweite variante an Gegnern
This commit is contained in:
@@ -16,6 +16,8 @@ public class PlayerMover : MonoBehaviour
|
||||
public PlayerStats playerStats;
|
||||
public float speed = 2f;
|
||||
|
||||
public Player player;
|
||||
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
@@ -28,6 +30,8 @@ public class PlayerMover : MonoBehaviour
|
||||
void Update()
|
||||
{
|
||||
Move();
|
||||
|
||||
player.playerPosition = transform.position;
|
||||
}
|
||||
|
||||
public void Move(){
|
||||
|
Reference in New Issue
Block a user