Reworked camera handling and localization a bit
This commit is contained in:
@@ -14,7 +14,7 @@ namespace Assets.Scripts
|
||||
{
|
||||
SceneManager.sceneLoaded += OnSceneLoaded;
|
||||
bool hasSceneHandler = false;
|
||||
foreach (Object o in FindObjectsOfType(typeof(MonoBehaviour)))
|
||||
foreach (Object o in FindObjectsByType<MonoBehaviour>(FindObjectsSortMode.None))
|
||||
{
|
||||
if (o.name == "SceneHandlerLoaded")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user