/// <summary> /// Retrieves an icon used for displaying an entry in the library window. /// </summary> /// <param name="icon">Type of the icon to retrieve.</param> /// <param name="size">Size of the icon to retrieve in pixels. This will be rounded /// to nearest available size.</param> /// <returns>Sprite texture of the icon.</returns> public static SpriteTexture GetLibraryItemIcon(LibraryItemIcon icon, int size) { return(Internal_GetLibraryItemIcon(icon, size)); }
private static extern SpriteTexture Internal_GetLibraryItemIcon(LibraryItemIcon icon, int size);
/// <summary> /// Retrieves an icon used for displaying an entry in the library window. /// </summary> /// <param name="icon">Type of the icon to retrieve.</param> /// <param name="size">Size of the icon to retrieve in pixels. This will be rounded /// to nearest available size.</param> /// <returns>Sprite texture of the icon.</returns> public static SpriteTexture GetLibraryItemIcon(LibraryItemIcon icon, int size) { return Internal_GetLibraryItemIcon(icon, size); }