public Color GetColor(string key, Color def) { Color cr = def; if (JsonUtil.ContainsKey(rootJson, key)) { string str = (string)rootJson[key]; cr = Common.RGBString2ColorA(str); } else { Debug.Log("ColorConfig ContainsKey no key =" + key); } return(cr); }
public bool IsHasBoard(string key) { return(JsonUtil.ContainsKey(rootJson, GetBoardKey(key))); }
static public bool JsonDataContainsKey(JsonData data, string key) { return(JsonUtil.ContainsKey(data, key)); }
public bool IsHasKey(string key) { return(JsonUtil.ContainsKey(rootJson, key)); }