Author Topic: Add altas and sprite selector in inspector for my class  (Read 1653 times)

dreamt1204@hotmail.com

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Add altas and sprite selector in inspector for my class
« on: October 15, 2017, 04:59:40 AM »
Hi, I want to add altas and sprite selector for my custom monobehavior class in inspector. Just like what UISprite does.

I have read the answer from ricky in the last post of the following post:
http://www.tasharen.com/forum/index.php?topic=4212.msg65257#msg65257

I just learned that we won't be able to access scripts in editor folder since they are using different assembly.

Then... what will be the easier way I can achieve this? I really need a help for this... Thank you!!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Add altas and sprite selector in inspector for my class
« Reply #1 on: October 19, 2017, 02:24:59 AM »
Different assemblies? I am not sure what you mean. NGUI comes in source code, there are no assemblies involved.