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

Add additional clause for DestroyImmediate in GunFactory #205

Open
Fueredoriku opened this issue May 25, 2023 · 0 comments
Open

Add additional clause for DestroyImmediate in GunFactory #205

Fueredoriku opened this issue May 25, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Fueredoriku
Copy link
Contributor

I think we should add an additional clause for the destroyImmediate #if UNITY_EDITOR check for destroyImmediate in GunFactory:
being in the gunTest scene, which I think is just about the only place we would need it for GUI-initialize gun button.

This change would remove the current error clutter of we get:
image

@Fueredoriku Fueredoriku added the bug Something isn't working label May 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

1 participant