//======================================= //TOOLBAR ACTIONS //======================================= void ToolbarActions(toolbarActions _action) { switch (_action) { case toolbarActions.Refresh: pfxPrefabList = new List <Object[]>(); pfxPreviewImageList = new List <Texture[]>(); pfxAssetCount = new int[] { 0, 0, 0, 0 }; LoadPrefabs(); break; } }
//======================================= //TOOLBAR ACTIONS //======================================= void ToolbarActions(toolbarActions _action) { switch(_action) { case toolbarActions.Refresh: pfxPrefabList = new List<Object[]>(); pfxPreviewImageList = new List<Texture[]>(); pfxAssetCount = new int[]{0,0,0,0}; LoadPrefabs(); break; } }