private void FindPlayerStart() { SceneChanger sceneChanger = GameObject.FindWithTag(Tags.persistentEngine).GetComponent <SceneChanger>(); bool foundStarter = false; PlayerStart[] starters = FindObjectsOfType(typeof(PlayerStart)) as PlayerStart[]; foreach (PlayerStart starter in starters) { if (starter.previousScene > -1 && starter.previousScene == sceneChanger.previousScene) { foundStarter = true; starter.SetPlayerStart(); break; } } if (!foundStarter && defaultPlayerStart) { defaultPlayerStart.SetPlayerStart(); } if (cutsceneOnStart != null) { cutsceneOnStart.Interact(); } }