You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thinking of making the main camera static again. A new object of the main camera/ instance is always being created when a player enters another level, and destroyed when they leave.
To do this:
Make sure the main camera game object does not destroy on scene load
Make sure only one instance is created, and assgin a ref to that instance to a static var in the CameraMovement script
Update load script
The text was updated successfully, but these errors were encountered:
Thinking of making the main camera static again. A new object of the main camera/ instance is always being created when a player enters another level, and destroyed when they leave.
To do this:
The text was updated successfully, but these errors were encountered: