Lasers wont listen to input logic

Hello! Can I please get help with this? I get this after implementing the following code and my lasers just keep playing

Screenshot 2021-05-18 154929

Hi,

Which version of Unity do you use?

According to this thread, it might be a known bug which has been in Unity for many years.

What you could try is to go to Window > Layout and select the “Default” layout. According to the information on the internet, the problem might be related to the Unity GUI. Maybe resetting the layout helps.

If nothing helps, I’d suggest to update.

Hi Nina !

I am using Unity 2021 1.5f1, I don’t think there is a newer version out right now
but I will check and I will try resetting the layout.

Thank you for your response !

It worked !
Thank you so much for your help :slight_smile:

Awesome! What exactly did it fix for you? :slight_smile:


See also:

When I was pressing my fire button the lasers were not shooting but after doing what you suggested it works perfectly now :+1:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms