Talk:FileBrowserWithColumns

Nice code ! One thing bugging me though : needing a reference to the browser. I added (not in the wiki) a singleton aspect :

public static Browser instance{	get{ return m_Instance; } } private static Browser m_Instance = null;

void Awake{ m_Instance = this; }

Which isn't perfect. First a call on Browser.instance from an earlier Awake would crash, and you still need to attach the sscript Browser yourself. The solution would be to create the gameobject during the get, but you don't have access to the settings anymore (default / min width and skin). It would be great to add a Browser settings in Edit/Project Settings, but I have no idea how to do that. I tried MenuItem or PreferenceItem in an EditorClass, without success.

Anyway, good job :)

PS : Is this the good place to discuss one code ? That doesn't look very forumy like, with answer and all that.