|
Post by Admin on Aug 8, 2016 17:39:54 GMT
DK_UMA_Save.SaveCompleteAvatar ( DK_RPG_UMA, CharacterName, DK_UMACrowd, SaveToFile, SaveToDB );
DK_RPG_UMA : is the DK_RPG_UMA component of the avatar DK_UMACrowd : is the DKUMACrowd of the current scene. SaveToFile : is a bool, true or false. SaveToDB : is a bool, true or false.
Saving to file will save the avatar to a uml file (Editor and runtime). Saving to DB will save the avatar as a ScriptableObject, it is for the Editor and its runtime mode. Is is usefull to prepare some NPC or predefined player avatars (Editor only).
|
|