What does PlayerIO.UnityInit do?
Particularly interested because I want to know if the need for it would interfere with having multiple scripts- each with one or more clients?
by NPSF3000 » September 27th, 2011, 5:00 am
by Oliver » October 12th, 2011, 12:45 pm
by NPSF3000 » October 12th, 2011, 12:57 pm
Oliver wrote:The summery of the method says:
/// <summary>
/// Setup the Player.IO Client to use the referenced behaviour (script) to interact with Unity.
/// </summary>
In essence, you need to give the PlayerIO client a mono behavior that it can use to interact with Unity and perform webservice calls with. You only need to call it once with a behavior that's always accessible.
Best,
Oliver
by Oliver » October 12th, 2011, 1:03 pm