void Awake() { worldManager = this; DontDestroyOnLoad(this.gameObject); gameObject.AddComponent <ActiveNearCamera>(); }