Skip to content

Performance improvements #28

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

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

David624634
Copy link
Contributor

I reworked the aim task, as it created two game objects every time it was started, one of which was not deleted or reused, creating more and more game objects. Now it just used two Vectors. Additionally, I fixed one major and one moderate performance issue identified by a new unity tool .

The aimAt script used to create two gameObject every time an aiming task was started, of which only one got destroyed after stopping. I changed it to use two Vectors instead as no new gameObject is actuall needed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant