Author Topic: Can NGUI do 3D sprites?  (Read 3403 times)

Zophiel

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 54
    • View Profile
Can NGUI do 3D sprites?
« on: June 21, 2012, 05:16:43 PM »
Hello,

I'm working on a little pirate game where if the ship get's hit some sailors are blown off of the ship. Right now I am using SpriteManager and prime31's UIToolKit but i'd like to roll both into one solution.

Can I use NGUI for 3D sprites in the game world? Or am I going to have to use SpriteManager for these types of sprites?
« Last Edit: June 21, 2012, 05:23:20 PM by Zophiel »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Can NGUI do 3D sprites?
« Reply #1 on: June 21, 2012, 05:25:51 PM »
Sure you can. All NGUI widgets are just scripts on game objects. You can position and move them around as you please.

Zophiel

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 54
    • View Profile
Re: Can NGUI do 3D sprites?
« Reply #2 on: August 17, 2012, 04:41:15 AM »
Ideally i would like to spawn them behind 3D objects in the game world and not on the 2D layer.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Can NGUI do 3D sprites?
« Reply #3 on: August 17, 2012, 09:49:32 AM »
Then just create your widgets within your 3D world and not within the UI hierarchy.