protected override void RenderContent() { _scrollViewPosition = EditorGUILayout.BeginScrollView(_scrollViewPosition); PrefabsToCategoryDropEventHandler dropEventHandler = PrefabsToCategoryDropEventHandler.Get(); dropEventHandler.PrefabsDropSettings.View.Render(); dropEventHandler.PrefabFoldersDropSettings.View.Render(); EditorGUILayout.EndScrollView(); }
public PrefabFoldersToCategoryDropOperation(PrefabFoldersToCategoryDropData dropData) { _dropData = dropData; _prefabFoldersDropSettings = PrefabsToCategoryDropEventHandler.Get().PrefabFoldersDropSettings; }
private void HandleDragAndDropEvent(Rect dropRectangle) { PrefabsToCategoryDropEventHandler.Get().Handle(Event.current, dropRectangle); }
private void AssociateDroppedPrefabsWithTags() { PrefabsToCategoryDropSettings prefabsDropSettings = PrefabsToCategoryDropEventHandler.Get().PrefabsDropSettings; PrefabActions.AssociatePrefabsWithTagCollection(_validDroppedPrefabs, prefabsDropSettings.TagNamesForDroppedPrefabs); }