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. Dismiss Notice

Pick Up Objects - Highlight object

Discussion in 'Scripting' started by dbenocilla, Jan 26, 2016.

  1. dbenocilla

    dbenocilla

    Joined:
    Jan 26, 2016
    Posts:
    1
    Hello!
    I have a script for my game that allows me to pick up an object. Currently it says "Can Pick Up Object" when the mouse hovers above the pickup-able object. However, I'd like to get rid of that and make some way for the object to be highlighted if it is pickup-able. Something like turning on a silhouette highlight/outline or a glow to the object. I haven't had any success in doing this with halo objects (that are children of the pick up object). Has anyone succeeded with some kind of highlight method/alternative?
     
  2. LeftyRighty

    LeftyRighty

    Joined:
    Nov 2, 2012
    Posts:
    5,148