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 - inewland53

Pages: [1]
1
TNet 3 Support / Re: How to get a channel list
« on: May 24, 2014, 05:18:36 PM »
I was running into a read error when trying to get the Player Limit as well. In order to get a ushort from the BinaryReader you need to use this code:

  1. int playerLimit         = reader.ReadUInt16();   // Don't use ReadInt32();
  2.  

Hope that helps someone.

2
NGUI 3 Support / Re: NGUI 2.1.6 UIButtonSound Issues?
« on: June 21, 2013, 11:05:38 AM »
In my case, the audio listener was detecting a deactivated AudioListener attached to another camera. I fixed this like so...

NGUITools.cs - line ~86
  1. //mListener = GameObject.FindObjectOfType(typeof(AudioListener)) as AudioListener;
  2. mListener = Camera.mainCamera.GetComponent<AudioListener>();
  3.  

Maybe T can update a fix that filters out deactivated Audio Listeners...

Pages: [1]