Author Topic: Integration question: What to remove?  (Read 6204 times)

AeornFlippout

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 46
    • View Profile
Integration question: What to remove?
« on: February 01, 2013, 10:57:07 AM »
Just working on integrating the full version of NGUI into my project.

My first inclination was to remove the "examples" folder, since I don't need all these examples in my game.

On the other hand, it looks like things like the button animation that's used in the built-in button template is in this folder.

What do people recommend here? Do you just leave it all in the project and let Unity decide what to include in your build?

AeornFlippout

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 46
    • View Profile
Re: Integration question: What to remove?
« Reply #1 on: February 01, 2013, 11:01:22 AM »
Or perhaps I'm mistaken and the Button animation is actually not part of the default button template?

ChrisR

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 33
    • View Profile
Re: Integration question: What to remove?
« Reply #2 on: February 01, 2013, 11:04:07 AM »
We just trawled through all the scripts and and took them out of the examples folder, then delete the rest for our test build.

Of course, we're keeping the examples while we're making our games and getting used to NGUI, because it's super handy to have the example scenes as reference.

As far as I can make out, the standard button doesn't reference the animations in the example folder. Just the .cs scripts.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Integration question: What to remove?
« Reply #3 on: February 01, 2013, 01:33:35 PM »
Animation isn't used by buttons unless you do it yourself. The entire Examples folder is safe to delete.