public void OnUpdateEggs(JsonData jd) { Global.eggs = Egg.ParseEggs(jd["Eggs"]); foreach (Egg egg in Global.eggs) { Debug.Log(egg.ToString()); } }