Custom Inspector button texture?

I’ve been experimenting for a while wanting to display some buttons as icons in my custom inspector, but the best I can do is making the button blank.

alt text

Texture2D moveup = AssetPreview.GetAssetPreview (Resources.Load ("moveup.png"));

...

if (GUILayout.Button (moveup))
{
}

I suspect ‘moveup’ is null. Try removing “.png” from your path name. Objects loaded from resources should be loaded using the name as it appears in the Project View.