Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

limit layer mask selection to one layer unity

Solstice answered on August 23, 2023 Popularity 1/10 Helpfulness 8/10

Contents


More Related Answers

  • unity mask all but one layer raycast
  • get layermask from gameobject layer unity
  • unity set layer
  • layermask for all layers unity
  • maxscript create new Layer

  • limit layer mask selection to one layer unity

    1

    In a script:


    In an Editor folder:


    Usage:


    Don't forget that in order to see a variable in the inspector, the field must be serialized (either set with [SerializeField] or set to public)

    Popularity 1/10 Helpfulness 8/10 Language csharp
    Link to this answer
    Share Copy Link
    Contributed on Aug 23 2023
    Solstice
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.