|
Post by Admin on Feb 14, 2017 15:01:26 GMT
Load an avatar from a file : public static void LoadAvatar ( DK_RPG_UMA _DK_RPG_UMA, string CharacterName, DK_UMACrowd _DK_UMACrowd, string Path );
_DK_RPG_UMA: Is the DK_RPG_UMA component of the avatar object in the scene to be replaced by the new loaded avatar. CharacterName : Is the name of the loaded avatar, the name of the saved file without the extension .uml. _DK_UMACrowd: Is the DKUMACrowd object present in the current scene. Path : is the path of the file, it can be left blank and the file will be loaded from Application.streamingAssetsPath.
|
|