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

LevelScript.cs spawnTime variable is useless and limited by private min/max time #12

Open
benbennza1 opened this issue Jan 27, 2017 · 1 comment

Comments

@benbennza1
Copy link
Collaborator

L:29 spawnTime = Random.Range(minTime, maxTime);

There is no point for the public variable.

@benbennza1
Copy link
Collaborator Author

Possible fix:
make spawnTime private
make minTime and maxTime public

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant