'Unity login system / php & mysql
DBManager.score = int.Parse(www.downloadHandler.text.Split('\t')[1]);
Hi, I'm getting error on this code of line here. Is there any other option for the Split that I can use? here's the error message
IndexOutOfRangeException: Index was outside the bounds of the array. Web+d__3.MoveNext () (at Assets/Scripts/PHP/Web.cs:40) UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at :0)
Thanks!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
