Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the Main Camera Static #14

Open
lejara opened this issue Mar 12, 2018 · 0 comments
Open

Make the Main Camera Static #14

lejara opened this issue Mar 12, 2018 · 0 comments
Labels
Like to Have Would be nice to have for our game

Comments

@lejara
Copy link
Collaborator

lejara commented Mar 12, 2018

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:

  1. Make sure the main camera game object does not destroy on scene load
  2. Make sure only one instance is created, and assgin a ref to that instance to a static var in the CameraMovement script
  3. Update load script
@lejara lejara added the Need To Have We need to have it in the final build of the game label Mar 12, 2018
@lejara lejara added Like to Have Would be nice to have for our game and removed Need To Have We need to have it in the final build of the game labels Apr 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Like to Have Would be nice to have for our game
Projects
None yet
Development

No branches or pull requests

1 participant