So referenzieren Sie Skripte in anderen Szenen Einheit
//you can use this to preserve scripts when loading new scene
DontDestroyOnLoad();
Comfortable Caterpillar
//you can use this to preserve scripts when loading new scene
DontDestroyOnLoad();