1. Submit bugs to enter our 5.4 Beta Sweepstakes. Read more about it here.
  2. Unity 5.4 public beta is now available for all users. Grab the build and visit the 5.4 beta forum.
  3. Missing a module? More about the new installer in 5.3 here.
  4. 4.7.1 released for Xcode 7.3 support. Thread here.

How to change Layer by script?

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

  1. leegod

    leegod

    Joined:
    May 5, 2010
    Messages:
    1,420
    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:
    29,746