Search Unity

Renderer off if deselected

Discussion in 'Scripting' started by Krosscut, Apr 6, 2011.

  1. Krosscut

    Krosscut

    Joined:
    Mar 24, 2011
    Posts:
    7
    I heard there is a function that is generally related to static..

    When i select my object the renderer is enabled.. what id like to do if i have 2 objects and select one the renderer shows, but if the 2nd object is selected the other object render turns off while the current one i selected is selected.