On TriggerEnter2D not working help

so the problem is that the script doest make uziemienie true if I manually (as when the game is running) check then everything works just fine trigger just doesnt realise its on the ground. It asked me about unity Editor version idk what that is so its random hope thats not important should be the newest

define not working

have you put in a debug log to see if the trigger is being called?
the local variable you declare goes no where, so you cant using the class variable for it, so from this it will never be true
why are all your variables public?

variables are public so i can change them fast if needed, wdym local variable goes no where I use it to check if the player is on the ground like uziemienie == true doent it check if uziemienie is true?

I just added debug log and trigger is being called
image

Change line 36 to:

        uziemienie = true;

BTW - on line 20 you should move your player with rb.AddForce or rb.velocity. And instead of using OnTriggerEnter2D you should probably use OnCollisionEnter2D for detecting the ground.

it works thanks you all so much

because you were overriding the variable by making a new local one that instantly gets forgotten