public static async void ShowRoleIcon(this EntityComponent entityCompoennt, RoleStyle roleStyle, int roleID, Transform parent) { await GameEntry.Entity.ShowRoleIconAsync(roleStyle, roleID, parent); }
public static async Task <RoleIcon> ShowRoleIconAsync(this EntityComponent entityCompoennt, RoleStyle roleStyle, int roleID, Transform parent) { return(await GameEntry.Entity.ShowSingleAssetItemAsync <RoleIcon, int>((int)roleStyle, roleID, parent)); }