AvatarReady
Loading...
Searching...
No Matches
Inria.Avatar.AvatarReady.AvatarResourceLoader Class Reference

Static Public Member Functions

static void InitializeCache ()
 Search all json files containing avatars' metadata and cache path and preview images.
 
static bool Contains (string avatarName)
 Check if an avatar is available as resource.
 
static string GetAvatarPath (string avatarName)
 Get the path to the avatar prefab.
 
static List< AvatarDataGetAvatarData ()
 Get al avatars available in resources.
 
static bool TryGetResourceTexture (string fileName, out Texture preview)
 Try to get the preview image of an avatar.
 

Properties

static Dictionary< string, Texture > AvatarPreviewCache [get]
 

Static Private Attributes

static Dictionary< string, AvatarDataavatarCacheMetadata = new Dictionary<string, AvatarData>()
 
static Dictionary< string, Texture > avatarPreviewCache = new Dictionary<string, Texture>()
 

Member Function Documentation

◆ GetAvatarData()

static List< AvatarData > Inria.Avatar.AvatarReady.AvatarResourceLoader.GetAvatarData ( )
inlinestatic

Get al avatars available in resources.

Returns

The documentation for this class was generated from the following file: