1. Enter the Microsoft Developer Challenge for a chance to win prizes. Read more about it here.
  2. Enter the Google Play Indie Games Contest in Europe. Read more about it here.
  3. Unity 5.5 is now released.
  4. Become a closed-alpha partner on the new Facebook games platform. Read more about it here.
  5. Get early access to our Google Daydream Technical preview. Click here for more details!

How to change Layer by script?

Discussion in 'Scripting' started by leegod, Jun 27, 2010.

  1. leegod

    leegod

    Joined:
    May 5, 2010
    Messages:
    1,520
    As the title, how?

    Not a tag, but a Layer.


    I want to change some object's layer so it can be shown at some condition, and turn off at some condition.
     
    Ash-Blue likes this.
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Messages:
    30,519