flo == "AgentSchmisch"
This commit is contained in:
parent
c600908d1c
commit
181b18cc6a
@ -14,7 +14,6 @@ public class SceneSwitcher : MonoBehaviour
|
|||||||
|
|
||||||
void OnTriggerEnter(Collider other)
|
void OnTriggerEnter(Collider other)
|
||||||
{
|
{
|
||||||
// switch to scene
|
|
||||||
if (other.CompareTag("Player"))
|
if (other.CompareTag("Player"))
|
||||||
{
|
{
|
||||||
SceneManager.LoadScene(switchToScene);
|
SceneManager.LoadScene(switchToScene);
|
||||||
|
Loading…
Reference in New Issue
Block a user