Layout2 only for one dude

This commit is contained in:
AliIbnAbiTalib
2023-02-20 22:00:25 +01:00
parent 78fd19675f
commit c76add1495
4 changed files with 44 additions and 20 deletions
@@ -201,4 +201,8 @@ public class PlayablePlayer : Player
client.SendFinished();
}
private void OnTriggerEnter(Collider collider)
{
Layout2.SetActive(true);
}
}
+1 -1
View File
@@ -68,7 +68,7 @@ public abstract class Player : MonoBehaviour
private void OnTriggerEnter(Collider c)
{
eventstop = true;
Layout2.SetActive(true);
}
public void EventStopFinished()