Layout2 Fix

This commit is contained in:
brausjonas committed 2023-02-20 21:11:11 +01:00
1 parent 02e344c4a1
commit 12c8843fed
5 files changed
+8 -20

No files matched your search

+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