public void FromJson(string json) { scenes = JsonUtility.FromJson <DataArray>(json); List <HScene> list = new List <HScene>(); for (int i = 0; i < scenes.arr.Length; i++) { Data data = scenes.arr[i]; HScene scene = new HScene(); scene.SetOnHolds(data.holdsOnHand); scene.SaveComments(data.comments); if (data.posable) { scene.SavePose(data.pose); scene.SavePRotate(data.rotate); } list.Add(scene); } hscenes.Construction(list); }