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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

[Solved! (My mistake)] Physics2D.Raycast

Discussion in 'Documentation' started by Effervescent, Mar 18, 2015.

  1. Effervescent

    Effervescent

    Joined:
    Mar 7, 2015
    Posts:
    31
    Some parameter descriptions in Physics2D.Raycast appear to be Russian!

    EDIT: I'm so sorry! I don't know how I managed to end up in the Russian version (or at least what is intended to be) of the API...
     
  2. Chunrand

    Chunrand

    Joined:
    Feb 21, 2015
    Posts:
    27
    Actually yes I see russian too...

    layerMask Фильтр для обнаружения коллайдеров только на определённых слоях.
    minDepth Включает только объекты с координатой Z (глубиной) выше, чем это значение.
    maxDepth Включает только объекты с координатой Z (глубиной) меньше, чем это значение.