How would i go about switching back and forth between scenes and using the DontDestroyOnLoad function without creating a duplicate player gameobject.
↧