Esempio n. 1
0
 public void setPostImages(CharacterPostImages postImages)
 {
     this.postImages = postImages;
 }
Esempio n. 2
0
    // 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());
    }