Author Topic: Missing the "Sprite" button on my Sprite (Solved)  (Read 5547 times)

Mastro

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 8
    • View Profile
Missing the "Sprite" button on my Sprite (Solved)
« on: May 19, 2014, 04:20:46 PM »
I tried searching for this answer and reading through FAQ's, no luck.

I just downloaded/installed/imported nGui 3.6.0 (never had a previous version before). I'm watching Tutorial 2 (https://www.youtube.com/watch?v=aWZaq1eLqyE) and on his Inspector under UISprite script he has a "Sprite" button he uses to set the sprite to something.  I don't have this button. I tried a new scene and re-added a sprite and nothing.  Also I don't know if it's normal but when I click on "Edit" next to the Atlas button, Wooden Atlas I get an error NullReferenceException: Object reference not set to an instance of an object
UISpriteInspector.ShouldDrawProperties () (at Assets/NGUI/Scripts/Editor/UISpriteInspector.cs:63)

Not sure if they are related.
« Last Edit: May 19, 2014, 04:50:12 PM by Mastro »

Mastro

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 8
    • View Profile
Re: Missing the "Sprite" button on my Sprite
« Reply #1 on: May 19, 2014, 04:38:28 PM »
To add to previous, Tutorial 3 I'm missing the UIButton script options to change the Sprites for OnHover etc..  I re-imported nGui, still not fixed.


Mastro

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 8
    • View Profile
Re: Missing the "Sprite" button on my Sprite (Solved)
« Reply #2 on: May 19, 2014, 04:50:41 PM »
Solved. I didn't realize, and somehow missed it in the video, that I had to select an Atlas first. Then it shows up.