Layout2 Fix

This commit is contained in:
brausjonas
2023-02-20 21:11:11 +01:00
parent 02e344c4a1
commit 12c8843fed
5 changed files with 8 additions and 20 deletions
+1 -2
View File
@@ -6,7 +6,7 @@ using UnityEngine;
public abstract class Player : MonoBehaviour
{
private GameObject Layout2;
public GameObject Layout2;
public string name = "";
public bool activated = false;
@@ -27,7 +27,6 @@ public abstract class Player : MonoBehaviour
private void Start()
{
animationHandler = GetComponentInChildren<AnimationHandler>();
Layout2 = GameObject.Find("Layout2");
}
//Aktiviert den Player