예제 #1
0
 public void OnBeforeSerialize()
 {
     // Link local reference to the correct glyph in the cache
     if (ownedGlyph == null)
     {
         ownedGlyph = LoggedInUser.GetGlyphFromCache(ownedGlyphId);
     }
 }
예제 #2
0
 public void OnBeforeSerialize()
 {
     // Link local reference to the correct glyph in the cache.
     // This method is called after the glyph cache is populated
     if (foundGlyph == null)
     {
         foundGlyph = LoggedInUser.GetGlyphFromCache(foundGlyphId);
     }
 }