selectedSticks contains sticks to change one color
AllChangedSticks is sum of selectedSticks selected between clicking Send Color button
This method is to add or remove a stick to selected list
When user click color button that he/she wants to change, All sticks change color member to new one
Then, they will be added in to AllChangeLists. When there is already added, the latest stick will replace old one
When user click send button, Json data will be written.
Then Send Json data through Http put method to server
'중국인턴(Intern In China) > 업무(Tasks)' 카테고리의 다른 글
Unity Making Inventory Script (0) | 2017.01.16 |
---|---|
Unity Http Put Json Type (0) | 2017.01.11 |
Unity HTTP (www) get, put, post (0) | 2017.01.10 |
Parsing data from Json (0) | 2017.01.10 |
Loaded Json Data from Server@@@ (0) | 2017.01.06 |