Author Topic: external assemblies  (Read 2073 times)

Strider13

  • Guest
external assemblies
« on: November 29, 2012, 05:31:56 PM »
Hi Guys,

I'm trying to use NGUI in a project that uses external assemblies and I'm coming a cross one issue and that is in the UIpanel.cs there is a line of code
  1. GameObject go = new GameObject("_UIDrawCall [" + mat.name + "]");
that gets called every time I press play , there for it causes a new object to be created every time I run the game. Do you guys have any solutions on how to use ngui as a .dll?

PS: I've seen the posed on the forum regarding this but it isn't much.

Cheers,
Sam

Strider13

  • Guest
Re: external assemblies
« Reply #1 on: November 29, 2012, 06:23:05 PM »
Found a solution !

for anyone interested in visual studio Project build properties you need to add
  1. UNITY_3_5_6;UNITY_3_5;UNITY_EDITOR;
to conditional compilation symbols.

Cheers,
Sam