public void setPostImages(CharacterPostImages postImages) { this.postImages = postImages; }
// Reads the post images info from the path void readPostImages(string postImagePath) { TextAsset jsonTextFile = Resources.Load <TextAsset>(postImagePath); this.postImages = JsonUtility.FromJson <CharacterPostImages>(jsonTextFile.ToString()); }