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

Timer does not exist in the current context #16

Open
omundy opened this issue Jan 28, 2022 · 1 comment
Open

Timer does not exist in the current context #16

omundy opened this issue Jan 28, 2022 · 1 comment

Comments

@omundy
Copy link

omundy commented Jan 28, 2022

I tried installing from UPM, adding the remote .git as a package, and downloading the package and each time I was unable to run any demos. I looked in the source and can't figure out why since its a static class with an extension?

Unity 2021.2.7f1

image

image

image

@omundy
Copy link
Author

omundy commented Jan 29, 2022

Adding the namespace only works if you download / install the package manually.

using UnityTimer;

However, when I try with UPM or adding the Git URL to the package manager VS does not recognize Timer or UnityTimer.

UPDATE: In order to use a package from either UPM or the Git URL, open Unity > Preferences > External Tools and check Registry Packages | Git Packages and click Regenerate Project Files:

image

This is not so much an issue with the project as a suggestion to improve the documentation.

@omundy omundy closed this as completed Jan 29, 2022
@omundy omundy reopened this Jan 29, 2022
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

No branches or pull requests

1 participant