public string GetShortsAssetForBodyType(AvatarBodyType bodyType) { string bodyTypeStr = bodyType.ToString(); List <AvatarItem> subList = _avatarDict["BODY"]; for (int i = 0; i < subList.Count; i++) { if (subList[i].BodyType == bodyTypeStr) { return(subList[i].ShortsAsset); } } return(""); }
public static AvatarDescription CreateRandom(AvatarBodyType bodyType) { throw new NotImplementedException(); }