aww I'm sorry. I was sleepy yesterday..
actually I wanna ask about how to put the object inside the UIwidget. and 2D objects are sprites.
and those objects are not part of UI. they're prefab that you also use in the game.
lets take another example here
dota2 uiit has a "Card" UI containing heroes face in idle animation.
or this
pic from googleit has the same hero object in game and inside the UI, but maybe that's not animated.
I've tried dragging the object inside uiwidget, and when I play its not the place I put inside scene editor.
because UI use UIRoot>Camera and objects use MainCamera to render.
then I try screenToWorldPoint and set to (0.5,0.5) point of screen to place in in the center.
but it's not working as I wanted.
so I can ask once again :p
is NGUI capable to do this stuff?
=====
another question:
- does uisprite only accept pic from created Atlas?
I have 40~ enemies here. and want to take the face sprite to HPbar UI.
is it possible to assign the sprite to uisprite without creating an atlas?
=====
thanks.
and sorry for the trouble
