It looks like you're new here. If you want to get involved, click one of these buttons!
Assets\playercollision.cs(14,22): error CS1061: 'PlayerMovement' does not contain a definition for 'Enabled' and no accessible extension method 'Enabled' accepting a first argument of type 'PlayerMovement' could be found (are you missing a using directive or an assembly reference?)
Can you post your code please?
I think your problem is 'Enabled' is not a property of a mono class
Try 'enabled', or if you want to change the GameObject and not just the component, use 'SetActive()'.
Answers
Thanks it works