Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - dweebster

Pages: [1]
1
NGUI 3 Support / Re: Windows store compliation errors
« on: May 20, 2014, 01:42:34 AM »
DataNode? It was removed...

You need to follow upgrade instructions from the readme file.

You are correct somehow I managed to import an old version of NGUI and then it was upgraded. Now it works properly, thanks for the help!

2
NGUI 3 Support / Re: Windows store compliation errors
« on: May 19, 2014, 12:57:32 PM »
These are the errors I get:

Assets\NGUI\Scripts\Internal\DataNode.cs(725,12): error CS1061: 'System.Type' does not contain a definition for 'IsAssignableFrom' and no extension method 'IsAssignableFrom' accepting a first argument of type 'System.Type' could be found (are you missing a using directive or an assembly reference?)

Assets\NGUI\Scripts\Internal\DataNode.cs(728,12): error CS1061: 'System.Type' does not contain a definition for 'IsEnum' and no extension method 'IsEnum' accepting a first argument of type 'System.Type' could be found (are you missing a using directive or an assembly reference?)

3
NGUI 3 Support / Re: Windows store compliation errors
« on: May 19, 2014, 11:53:59 AM »
BUMP - Still having problems with building for Windows Store apps.

Anyone succeeded building NGUI 3.6 for Windows Store apps? If yes, let me know how u managed!

4
NGUI 3 Support / Re: Windows store compliation errors
« on: May 12, 2014, 02:52:33 PM »
For the 2nd issue I found a similar one:

http://www.tasharen.com/forum/index.php?topic=9135.msg43104#msg43104

But the suggestion to have:
#if UNITY_EDITOR || (!UNITY_FLASH && !NETFX_CORE && !UNITY_WP8)
#define REFLECTION_SUPPORT
#endif

In the top doesn't work as it was already present, any additional advise is welcome!

5
NGUI 3 Support / Re: Windows store compliation errors
« on: May 12, 2014, 02:42:52 PM »
Part I found was already reported and a solution suggested:
http://www.tasharen.com/forum/index.php?topic=9434.0

6
NGUI 3 Support / Windows store compliation errors
« on: May 12, 2014, 12:55:11 PM »
With the latest update v3.5.9 I get the following errors when compiling for Windows Store using SDK 8.0.

Assets\NGUI\Scripts\Internal\ByteReader.cs(31,19): error CS0103: The name 'File' does not exist in the current context
Assets\NGUI\Scripts\Internal\DataNode.cs(724,12): error CS1061: 'System.Type' does not contain a definition for 'IsAssignableFrom' and no extension method 'IsAssignableFrom' accepting a first argument of type 'System.Type' could be found (are you missing a using directive or an assembly reference?)
Assets\NGUI\Scripts\Internal\DataNode.cs(727,12): error CS1061: 'System.Type' does not contain a definition for 'IsEnum' and no extension method 'IsEnum' accepting a first argument of type 'System.Type' could be found (are you missing a using directive or an assembly reference?)

The first error I'm pretty sure was not there on earlier versions.

7
NGUI 3 Support / Bug report on Windows Phone 8
« on: September 09, 2013, 04:52:21 AM »
In the file NGUITools.cs File.ReadAllBytes(path) is used.

This seemed to work fine with Unity 4.2 but with 4.3 it doesn't anymore.

So to fix it the code needs to be adjusted to the following:

#if UNITY_WEBPLAYER || UNITY_FLASH || UNITY_METRO || UNITY_WP8
      return null;
#else
      if (!NGUITools.fileAccess) return null;

      string path = Application.persistentDataPath + "/" + fileName;

      if (File.Exists(path))
      {
         return File.ReadAllBytes(path);
      }
      return null;

Pages: [1]