Initial commit

This commit is contained in:
HussienX72u
2026-07-21 08:56:10 +03:00
commit 4017028111
9410 changed files with 2150500 additions and 0 deletions
@@ -0,0 +1,7 @@
@startuml
enum IconBackground {
None,
Color,
Texture,
}
@enduml
@@ -0,0 +1,8 @@
@startuml
struct IconBackgroundData {
+ IconBackgroundData(type:IconBackground, color:Color, texture:Texture2D)
}
IconBackgroundData --> "Type" IconBackground
IconBackgroundData --> "Color" Color
IconBackgroundData --> "Texture" Texture2D
@enduml
@@ -0,0 +1,9 @@
@startuml
class IconsCreator {
+ IconsCreator()
+ InitializeEnvironment() : void
+ SetData(data:IconsCreatorData) : void
+ CreateIcon() : void
}
IconsCreator --> "CameraView" Texture2D
@enduml
@@ -0,0 +1,10 @@
@startuml
class IconsCreatorCameraUtility {
+ IconsCreationCameraTag : string <<get>>
+ RetrieveCamera() : void
+ SetData(targetObject:GameObject, size:int, padding:float) : void
+ SetBackground(backgroundData:IconBackgroundData) : void
+ AdjustCamera() : void
+ CaptureCameraView() : Texture2D
}
@enduml
@@ -0,0 +1,11 @@
@startuml
struct IconsCreatorData {
+ Size : int <<get>>
+ Padding : float <<get>>
+ Prefix : string <<get>>
+ Suffix : string <<get>>
+ RenderShadows : bool <<get>>
+ IconsCreatorData(size:int, padding:float, prefix:string, suffix:string, backgroundData:IconBackgroundData, targets:List<Object>, renderShadows:bool)
}
IconsCreatorData --> "BackgroundData" IconBackgroundData
@enduml
@@ -0,0 +1,6 @@
@startuml
class IconsCreatorInternalSceneHandler {
+ TryCreateScene(iconsCreationCameraTag:string) : void
+ InteractWithTarget(targetObject:GameObject, renderShadows:bool, action:Action<GameObject>) : void
}
@enduml
@@ -0,0 +1,5 @@
@startuml
class IconsCreatorWindow {
}
EditorWindow <|-- IconsCreatorWindow
@enduml
@@ -0,0 +1,7 @@
@startuml
class IconsCreatorWindowElements <<static>> {
+ {static} DrawSmallSpace() : void
+ {static} DrawRegularSpace() : void
+ {static} DrawBoldLabel(labelText:string) : void
}
@enduml
@@ -0,0 +1,6 @@
@startuml
class IconsSaver {
+ SetData(prefix:string, suffix:string) : void
+ SaveIcon(image:Texture2D, name:string) : void
}
@enduml
@@ -0,0 +1,6 @@
@startuml
class GameObjectExtensions <<static>> {
+ {static} GetOrthographicBounds(gameObject:GameObject, camera:Camera) : Bounds
+ {static} HasVisibleMesh(gameObject:GameObject) : bool
}
@enduml
@@ -0,0 +1,5 @@
@startuml
class TextureExtensions <<static>> {
+ {static} Resize(texture:Texture2D, targetSize:int) : Texture2D
}
@enduml
@@ -0,0 +1,6 @@
@startuml
class UnityObjectExtensions <<static>> {
+ {static} ExtractAllGameObjects(objects:List<Object>) : List<GameObject>
+ {static} IsFolderContainingGameObjects(obj:Object) : bool
}
@enduml
@@ -0,0 +1,6 @@
@startuml
class VectorExtensions <<static>> {
+ {static} Abs(a:Vector2) : Vector2
+ {static} BiggestComponentValue(a:Vector2) : float
}
@enduml
@@ -0,0 +1,6 @@
@startuml
class LayersHelper <<static>> {
+ {static} CreateLayer(newLayerName:string) : void
+ {static} RemoveLayer(existingLayerName:string) : void
}
@enduml
@@ -0,0 +1,8 @@
@startuml
class _0_IconAssetValidityTests {
+ Initialize() : void
+ Asset_Should_Exist_At_Given_Path() : void
+ Asset_Should_Have_Expected_Name() : void
+ Asset_Should_Be_A_Sprite() : void
}
@enduml
@@ -0,0 +1,15 @@
@startuml
class _1_IconSizeTests {
+ Initialize() : void
+ Asset_Should_Be_32px_Wide() : void
+ Asset_Should_Be_512px_Wide() : void
+ Asset_Should_Be_1024px_Wide() : void
+ Asset_Should_Be_381px_Wide() : void
+ Asset_Should_Be_32px_High() : void
+ Asset_Should_Be_512px_High() : void
+ Asset_Should_Be_1024px_High() : void
+ Asset_Should_Be_381px_High() : void
+ Asset_Should_Have_1to1_Aspect_Ratio() : void
+ Trying_To_Make_Icon_Of_Less_Than_1px_Should_Throw_ArgumentOutOfRangeException() : void
}
@enduml