ProjectViewIconCallbacks Class Reference

This class configures unity such that it will invoke the appropriate functions when EditorApplication.ProjectWindowItemCallback is invoked by the Unity Editor

Static Public Member Functions

static void RemoveCallbacks ()
 If the user disables drawing previews in the project window, via a preference option, this function will be invoked to remove all callbacks from EditorApplication.ProjectWindowItemCallback
 
static void SetupCallbacks ()
 For each type of PreviewEditor that has been defined, this function will add it's projectWindowItemOnGUI function as callback from EditorApplication.ProjectWindowItemCallback