EditorBuiltin.cs 997 B

12345678910111213141516171819202122232425
  1. using System.Runtime.CompilerServices;
  2. using BansheeEngine;
  3. namespace BansheeEditor
  4. {
  5. public static class EditorBuiltin
  6. {
  7. public static SpriteTexture FolderIcon { get { return Internal_GetFolderIcon(); } }
  8. public static SpriteTexture MeshIcon { get { return Internal_GetMeshIcon(); } }
  9. public static SpriteTexture FontIcon { get { return Internal_GetFontIcon(); } }
  10. public static SpriteTexture TextureIcon { get { return Internal_GetTextureIcon(); } }
  11. [MethodImpl(MethodImplOptions.InternalCall)]
  12. private static extern SpriteTexture Internal_GetFolderIcon();
  13. [MethodImpl(MethodImplOptions.InternalCall)]
  14. private static extern SpriteTexture Internal_GetMeshIcon();
  15. [MethodImpl(MethodImplOptions.InternalCall)]
  16. private static extern SpriteTexture Internal_GetFontIcon();
  17. [MethodImpl(MethodImplOptions.InternalCall)]
  18. private static extern SpriteTexture Internal_GetTextureIcon();
  19. }
  20. }