Search Unity

Space Shooter Error

Discussion in 'Testing & Automation' started by DevNiche, Jun 18, 2020.

  1. DevNiche

    DevNiche

    Joined:
    Jun 18, 2020
    Posts:
    1
    I’m confused. Why does Unity find an error but the actual script doesn’t find any errors.

    error:

    Assets\eScripts\PlayerController.cs(13,14):error CS0542: ‘PlayerController’:member names cannot be the same as their enclosing type
     
unityunity