문서 모음

Json 을 이용한 Unity 파싱.

고수석 2019. 3. 22. 15:52
 IEnumerator FadeIn()
    {
        for(float i = 1f; i >= 0; i -= 0.1f)
        {
            Color color = new Vector4(1,1,1, i);
            transform.renderer.material.color = color;
            yield return 0;
        }
    }

알파.. 찾는중..


using LitJson;

public LitJson.JsonData _getDataRank;
_getDataRank = LitJson.JsonMapper.ToObject(jsonString);
_getDataRank["대주제"][i]["소주제"].ToString()

TextToText(mLd, http.Instance._getDataRank["ranking"][i]["id"].ToString());

private static http _instance;
    public static http Instance
    {
        get
        {
            if (_instance == null)
            {
                _instance = new GameObject("http").AddComponent<http>();
            }
            return _instance;
        }
    }


'문서 모음' 카테고리의 다른 글

NodeJS 관련 파일 135  (0) 2019.04.18
NodeJS 관련 파일 186  (0) 2019.04.18
Gamification 관련  (0) 2018.08.04
MongoDB 간단 쿼리  (0) 2017.02.15
너무하네.  (0) 2017.02.13