Jae Ryun, Buster, Chung 2017. 1. 10. 10:50


I used www(which is a class that connect HTTP) to get Json data from server. The Data will be stored in www.text value type string, and I splited the data every }, as it contains several information of several sticks and I need to split them.


And printTextSplit(string[] str) method does that task


Code is below:



StickList is the list of connected Z Sticks and every stick information will be printed in console by Debug.Log command. StickList.Count is a int value that the number of sticks connected