Search Unity

Rect Transform

Discussion in 'Documentation' started by squarelife, Aug 16, 2019.

  1. squarelife

    squarelife

    Joined:
    Nov 8, 2017
    Posts:
    41
  2. Baste

    Baste

    Joined:
    Jan 24, 2013
    Posts:
    6,334
    You're looking at the documentation for:
    Code (csharp):
    1. UnityEngine.UIElements.Image
    While the code sample you're using is referencing a:
    Code (csharp):
    1. UnityEngine.UI.Image
    Unity just utterly dropped the ball on their documentation, so the docs for UGUI is gone. It hasn't changed since the last version of Unity, so you can find the docs you're looking for here.
     
    squarelife likes this.
  3. jo-unity

    jo-unity

    Unity Technologies

    Joined:
    Mar 27, 2019
    Posts:
    33
    Baste likes this.
  4. Baste

    Baste

    Joined:
    Jan 24, 2013
    Posts:
    6,334
  5. Baste

    Baste

    Joined:
    Jan 24, 2013
    Posts:
    6,334
    Also, I've visited your package manager manual pages a bunch without finding the scripting reference. Maybe it's too hard to spot the "Scripting API" button in the top bar? Or maybe it's just me.
     
  6. jo-unity

    jo-unity

    Unity Technologies

    Joined:
    Mar 27, 2019
    Posts:
    33
    Yes you're right it's hard to spot - we're going to fix the CSS so that the font is a lighter colour in the navigation. I'll also adjust the incorrect info on the homepage.
     
    Baste likes this.