Initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
@startuml
|
||||
class FolderIconConstants <<static>> {
|
||||
+ {static} <<readonly>> ASSET_DEFAULT_PATH : string
|
||||
+ <<const>> FOLDER_TEXTURE_PATH : string = "Assets/ColouredFolders/Folders"
|
||||
+ <<const>> ICONS_TEXTURE_PATH : string = "Assets/ColouredFolders/Icons"
|
||||
+ <<const>> PREF_FOLDER : string = "FolderPlus_ShowCustomFolders"
|
||||
+ <<const>> PREF_OVERLAY : string = "FolderPlus_ShowCustomIcons"
|
||||
+ <<const>> MAX_TREE_WIDTH : float = 118f
|
||||
+ <<const>> MAX_PROJECT_WIDTH : float = 96f
|
||||
+ <<const>> MAX_TREE_HEIGHT : float = 16f
|
||||
+ <<const>> MAX_PROJECT_HEIGHT : float = 110f
|
||||
}
|
||||
FolderIconConstants o-> "SelectedColor" Color
|
||||
FolderIconConstants o-> "BackgroundColour" Color
|
||||
@enduml
|
||||
@@ -0,0 +1,9 @@
|
||||
@startuml
|
||||
class FolderIconGUI <<static>> {
|
||||
+ {static} DrawFolderPreview(rect:Rect, folder:Texture, overlay:Texture) : void
|
||||
+ {static} DrawFolderTexture(rect:Rect, folder:Texture, guid:string) : void
|
||||
+ {static} DrawOverlayTexture(rect:Rect, overlay:Texture) : void
|
||||
+ {static} IsSideView(rect:Rect) : bool
|
||||
+ {static} IsTreeView(rect:Rect) : bool
|
||||
}
|
||||
@enduml
|
||||
@@ -0,0 +1,13 @@
|
||||
@startuml
|
||||
class FolderIconSettings {
|
||||
+ showOverlay : bool = true
|
||||
+ showCustomFolder : bool = true
|
||||
}
|
||||
class FolderIcon {
|
||||
}
|
||||
ScriptableObject <|-- FolderIconSettings
|
||||
FolderIconSettings +-- FolderIcon
|
||||
FolderIcon --> "folder" DefaultAsset
|
||||
FolderIcon --> "folderIcon" Texture2D
|
||||
FolderIcon --> "overlayIcon" Texture2D
|
||||
@enduml
|
||||
@@ -0,0 +1,6 @@
|
||||
@startuml
|
||||
class FolderIconSettingsEditor {
|
||||
+ <<override>> OnInspectorGUI() : void
|
||||
}
|
||||
Editor <|-- FolderIconSettingsEditor
|
||||
@enduml
|
||||
@@ -0,0 +1,6 @@
|
||||
@startuml
|
||||
class FolderIconsReplacer <<static>> {
|
||||
+ {static} showFolder : bool
|
||||
+ {static} showOverlay : bool
|
||||
}
|
||||
@enduml
|
||||
Reference in New Issue
Block a user