Exemplo n.º 1
0
 public static async void ShowRoleIcon(this EntityComponent entityCompoennt, RoleStyle roleStyle, int roleID, Transform parent)
 {
     await GameEntry.Entity.ShowRoleIconAsync(roleStyle, roleID, parent);
 }
Exemplo n.º 2
0
 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));
 }