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.

Can we have the standard material behavior in UI componets? [suggestion]

Discussion in 'UGUI & TextMesh Pro' started by IntDev, Aug 31, 2014.

  1. IntDev

    IntDev

    Joined:
    Jan 14, 2013
    Posts:
    152
    With 3d objects and 2d sprites we just drag/drop the material in the Inspector and it is applied to the object:

    img1.png
    But in UI components we have to apply it to a property in the Image component. Why can't we just apply it to the entire object even if it's not a Image?

    Why we don't have the same standard to UI components?

    Also would be nice access it material via .renderer.sharedMaterial.

    This sounds more flexibe and unity-standardized (I may be wrong). Well, just a suggestion.
     
  2. Tim-C

    Tim-C

    Unity Technologies

    Joined:
    Feb 6, 2010
    Posts:
    2,194
    It's something that would be nice to add (we already have a feature request for it) but right now it's lower priority then fixing bugs :)
     
  3. IntDev

    IntDev

    Joined:
    Jan 14, 2013
    Posts:
    152
    Good! :D