示例#1
0
 /// <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));
 }
示例#2
0
 private static extern SpriteTexture Internal_GetLibraryItemIcon(LibraryItemIcon icon, int size);
示例#3
0
 private static extern SpriteTexture Internal_GetLibraryItemIcon(LibraryItemIcon icon, int size);
示例#4
0
 /// <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);
 }