Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

rror CS0117: 'Physics2D' does not contain a definition for 'OverLapCircle' pls help !

Discussion in 'Getting Started' started by Sliski_Bartus2241, Mar 8, 2020.

  1. Sliski_Bartus2241

    Sliski_Bartus2241

    Joined:
    Mar 8, 2020
    Posts:
    2
    Help me .. i dont know what is bad
    upload_2020-3-8_13-20-16.png
     
  2. Bill_Martini

    Bill_Martini

    Joined:
    Apr 19, 2016
    Posts:
    445
    For starters it's Physics2D.OverlapCircle. Case and spelling are very important.

    Please use CodeTags when posting code.
     
  3. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    You should use a code editor which calls out these type of spelling or capitalization error automatically as soon as they are typed, and typically provides autocomplete so you don't even need to remember them in the first place. VS which is bundled with Unity on PC/Mac does this.