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,5 @@
@startuml
class ColoredHeader {
}
MonoBehaviour <|-- ColoredHeader
@enduml
@@ -0,0 +1,2 @@
@startuml
@enduml
@@ -0,0 +1,2 @@
@startuml
@enduml
@@ -0,0 +1,42 @@
@startuml
class ColoredHeaderGUI {
}
enum Tabs {
HeaderCreator= 0,
PresetCreator= 1,
}
class Strings <<static>> {
+ <<const>> HEADER_OBJECT_NAME : string = "%$ Header"
+ <<const>> WINDOW_TITLE : string = "Colored Headers"
+ <<const>> LOGO_TEXT : string = "Baedrick | ColoredHeaders"
+ <<const>> HEADER_SETTINGS_FOLDOUT_LABEL : string = "Header Settings"
+ <<const>> FONT_SETTINGS_FOLDOUT_LABEL : string = "Font Settings"
+ <<const>> LOAD_HEADER_FOLDOUT_LABEL : string = "Load Header Preset"
+ <<const>> CREATE_HEADER_FOLDOUT_LABEL : string = "Create Header Preset"
+ <<const>> HEADER_TITLE_LABEL : string = "Header Name"
+ <<const>> HEADER_TITLE_TOOLTIP : string = "Display text for the Header."
+ <<const>> HEADER_COLOR_LABEL : string = "Header Color"
+ <<const>> HEADER_COLOR_TOOLTIP : string = "Header background color."
+ <<const>> TEXT_ALIGNMENT_LABEL : string = "Text Alignment"
+ <<const>> TEXT_ALIGNMENT_TOOLTIP : string = "Header text alignment."
+ <<const>> FONT_STYLE_LABEL : string = "Font Style"
+ <<const>> FONT_STYLE_TOOLTIP : string = "Header text font style."
+ <<const>> FONT_SIZE_LABEL : string = "Font Size"
+ <<const>> FONT_SIZE_TOOLTIP : string = "Header text font size."
+ <<const>> FONT_COLOR_LABEL : string = "Font Color"
+ <<const>> FONT_COLOR_TOOLTIP : string = "Header text font color."
+ <<const>> DROP_SHADOW_LABEL : string = "Drop Shadow (Slow)"
+ <<const>> DROP_SHADOW_TOOLTIP : string = "Header text drop shadow. Warning: it is slow."
+ <<const>> HEADER_PRESET_INPUT_LABEL : string = "Header Preset File"
+ <<const>> HEADER_PRESET_INPUT_TOOLTIP : string = "Header Preset File to load."
+ <<const>> CREATE_HEADER_BUTTON_LABEL : string = "Create Header"
+ <<const>> RESET_BUTTON_LABEL : string = "Reset To Default"
+ <<const>> DELETE_HEADER_BUTTON_LABEL : string = "Delete All Headers"
+ <<const>> LOAD_PRESET_BUTTON_LABEL : string = "Load Headers From File"
+ <<const>> SAVE_PRESET_BUTTON_LABEL : string = "Save Scene Headers As Preset"
+ <<const>> SAVE_PRESET_PANEL_TITLE : string = "Save Colored Header Preset File"
}
EditorWindow <|-- ColoredHeaderGUI
ColoredHeaderGUI +-- Tabs
ColoredHeaderGUI +-- Strings
@enduml
@@ -0,0 +1,4 @@
@startuml
class ColoredHeaderRenderer <<static>> {
}
@enduml
@@ -0,0 +1,9 @@
@startuml
class EditorHelper <<static>> {
+ {static} Foldout(foldout:bool, content:string) : bool
+ {static} LoadSettings(path:string) : ColoredHeaderSettings
+ {static} CreateSettingsAsset(path:string) : void
+ {static} CopyHeaderSettingsFromTo(from:HeaderSettings, to:HeaderSettings) : void
+ {static} DeleteAllHeaders() : void
}
@enduml
@@ -0,0 +1,4 @@
@startuml
class OnPreprocessScene <<static>> {
}
@enduml
@@ -0,0 +1,19 @@
@startuml
class DOTweenModuleAudio <<static>> {
+ {static} DOFade(target:AudioSource, endValue:float, duration:float) : TweenerCore<float, float, FloatOptions>
+ {static} DOPitch(target:AudioSource, endValue:float, duration:float) : TweenerCore<float, float, FloatOptions>
+ {static} DOSetFloat(target:AudioMixer, floatName:string, endValue:float, duration:float) : TweenerCore<float, float, FloatOptions>
+ {static} DOComplete(target:AudioMixer, withCallbacks:bool) : int
+ {static} DOKill(target:AudioMixer, complete:bool) : int
+ {static} DOFlip(target:AudioMixer) : int
+ {static} DOGoto(target:AudioMixer, to:float, andPlay:bool) : int
+ {static} DOPause(target:AudioMixer) : int
+ {static} DOPlay(target:AudioMixer) : int
+ {static} DOPlayBackwards(target:AudioMixer) : int
+ {static} DOPlayForward(target:AudioMixer) : int
+ {static} DORestart(target:AudioMixer) : int
+ {static} DORewind(target:AudioMixer) : int
+ {static} DOSmoothRewind(target:AudioMixer) : int
+ {static} DOTogglePause(target:AudioMixer) : int
}
@enduml
@@ -0,0 +1,2 @@
@startuml
@enduml
@@ -0,0 +1,13 @@
@startuml
class DOTweenModulePhysics <<static>> {
+ {static} DOMove(target:Rigidbody, endValue:Vector3, duration:float, snapping:bool) : TweenerCore<Vector3, Vector3, VectorOptions>
+ {static} DOMoveX(target:Rigidbody, endValue:float, duration:float, snapping:bool) : TweenerCore<Vector3, Vector3, VectorOptions>
+ {static} DOMoveY(target:Rigidbody, endValue:float, duration:float, snapping:bool) : TweenerCore<Vector3, Vector3, VectorOptions>
+ {static} DOMoveZ(target:Rigidbody, endValue:float, duration:float, snapping:bool) : TweenerCore<Vector3, Vector3, VectorOptions>
+ {static} DORotate(target:Rigidbody, endValue:Vector3, duration:float, mode:RotateMode) : TweenerCore<Quaternion, Vector3, QuaternionOptions>
+ {static} DOLookAt(target:Rigidbody, towards:Vector3, duration:float, axisConstraint:AxisConstraint, up:Vector3?) : TweenerCore<Quaternion, Vector3, QuaternionOptions>
+ {static} DOJump(target:Rigidbody, endValue:Vector3, jumpPower:float, numJumps:int, duration:float, snapping:bool) : Sequence
+ {static} DOPath(target:Rigidbody, path:Vector3[], duration:float, pathType:PathType, pathMode:PathMode, resolution:int, gizmoColor:Color?) : TweenerCore<Vector3, Path, PathOptions>
+ {static} DOLocalPath(target:Rigidbody, path:Vector3[], duration:float, pathType:PathType, pathMode:PathMode, resolution:int, gizmoColor:Color?) : TweenerCore<Vector3, Path, PathOptions>
}
@enduml
@@ -0,0 +1,11 @@
@startuml
class DOTweenModulePhysics2D <<static>> {
+ {static} DOMove(target:Rigidbody2D, endValue:Vector2, duration:float, snapping:bool) : TweenerCore<Vector2, Vector2, VectorOptions>
+ {static} DOMoveX(target:Rigidbody2D, endValue:float, duration:float, snapping:bool) : TweenerCore<Vector2, Vector2, VectorOptions>
+ {static} DOMoveY(target:Rigidbody2D, endValue:float, duration:float, snapping:bool) : TweenerCore<Vector2, Vector2, VectorOptions>
+ {static} DORotate(target:Rigidbody2D, endValue:float, duration:float) : TweenerCore<float, float, FloatOptions>
+ {static} DOJump(target:Rigidbody2D, endValue:Vector2, jumpPower:float, numJumps:int, duration:float, snapping:bool) : Sequence
+ {static} DOPath(target:Rigidbody2D, path:Vector2[], duration:float, pathType:PathType, pathMode:PathMode, resolution:int, gizmoColor:Color?) : TweenerCore<Vector3, Path, PathOptions>
+ {static} DOLocalPath(target:Rigidbody2D, path:Vector2[], duration:float, pathType:PathType, pathMode:PathMode, resolution:int, gizmoColor:Color?) : TweenerCore<Vector3, Path, PathOptions>
}
@enduml
@@ -0,0 +1,8 @@
@startuml
class DOTweenModuleSprite <<static>> {
+ {static} DOColor(target:SpriteRenderer, endValue:Color, duration:float) : TweenerCore<Color, Color, ColorOptions>
+ {static} DOFade(target:SpriteRenderer, endValue:float, duration:float) : TweenerCore<Color, Color, ColorOptions>
+ {static} DOGradientColor(target:SpriteRenderer, gradient:Gradient, duration:float) : Sequence
+ {static} DOBlendableColor(target:SpriteRenderer, endValue:Color, duration:float) : Tweener
}
@enduml
@@ -0,0 +1,50 @@
@startuml
class DOTweenModuleUI <<static>> {
+ {static} DOFade(target:CanvasGroup, endValue:float, duration:float) : TweenerCore<float, float, FloatOptions>
+ {static} DOColor(target:Graphic, endValue:Color, duration:float) : TweenerCore<Color, Color, ColorOptions>
+ {static} DOFade(target:Graphic, endValue:float, duration:float) : TweenerCore<Color, Color, ColorOptions>
+ {static} DOColor(target:Image, endValue:Color, duration:float) : TweenerCore<Color, Color, ColorOptions>
+ {static} DOFade(target:Image, endValue:float, duration:float) : TweenerCore<Color, Color, ColorOptions>
+ {static} DOFillAmount(target:Image, endValue:float, duration:float) : TweenerCore<float, float, FloatOptions>
+ {static} DOGradientColor(target:Image, gradient:Gradient, duration:float) : Sequence
+ {static} DOFlexibleSize(target:LayoutElement, endValue:Vector2, duration:float, snapping:bool) : TweenerCore<Vector2, Vector2, VectorOptions>
+ {static} DOMinSize(target:LayoutElement, endValue:Vector2, duration:float, snapping:bool) : TweenerCore<Vector2, Vector2, VectorOptions>
+ {static} DOPreferredSize(target:LayoutElement, endValue:Vector2, duration:float, snapping:bool) : TweenerCore<Vector2, Vector2, VectorOptions>
+ {static} DOColor(target:Outline, endValue:Color, duration:float) : TweenerCore<Color, Color, ColorOptions>
+ {static} DOFade(target:Outline, endValue:float, duration:float) : TweenerCore<Color, Color, ColorOptions>
+ {static} DOScale(target:Outline, endValue:Vector2, duration:float) : TweenerCore<Vector2, Vector2, VectorOptions>
+ {static} DOAnchorPos(target:RectTransform, endValue:Vector2, duration:float, snapping:bool) : TweenerCore<Vector2, Vector2, VectorOptions>
+ {static} DOAnchorPosX(target:RectTransform, endValue:float, duration:float, snapping:bool) : TweenerCore<Vector2, Vector2, VectorOptions>
+ {static} DOAnchorPosY(target:RectTransform, endValue:float, duration:float, snapping:bool) : TweenerCore<Vector2, Vector2, VectorOptions>
+ {static} DOAnchorPos3D(target:RectTransform, endValue:Vector3, duration:float, snapping:bool) : TweenerCore<Vector3, Vector3, VectorOptions>
+ {static} DOAnchorPos3DX(target:RectTransform, endValue:float, duration:float, snapping:bool) : TweenerCore<Vector3, Vector3, VectorOptions>
+ {static} DOAnchorPos3DY(target:RectTransform, endValue:float, duration:float, snapping:bool) : TweenerCore<Vector3, Vector3, VectorOptions>
+ {static} DOAnchorPos3DZ(target:RectTransform, endValue:float, duration:float, snapping:bool) : TweenerCore<Vector3, Vector3, VectorOptions>
+ {static} DOAnchorMax(target:RectTransform, endValue:Vector2, duration:float, snapping:bool) : TweenerCore<Vector2, Vector2, VectorOptions>
+ {static} DOAnchorMin(target:RectTransform, endValue:Vector2, duration:float, snapping:bool) : TweenerCore<Vector2, Vector2, VectorOptions>
+ {static} DOPivot(target:RectTransform, endValue:Vector2, duration:float) : TweenerCore<Vector2, Vector2, VectorOptions>
+ {static} DOPivotX(target:RectTransform, endValue:float, duration:float) : TweenerCore<Vector2, Vector2, VectorOptions>
+ {static} DOPivotY(target:RectTransform, endValue:float, duration:float) : TweenerCore<Vector2, Vector2, VectorOptions>
+ {static} DOSizeDelta(target:RectTransform, endValue:Vector2, duration:float, snapping:bool) : TweenerCore<Vector2, Vector2, VectorOptions>
+ {static} DOPunchAnchorPos(target:RectTransform, punch:Vector2, duration:float, vibrato:int, elasticity:float, snapping:bool) : Tweener
+ {static} DOShakeAnchorPos(target:RectTransform, duration:float, strength:float, vibrato:int, randomness:float, snapping:bool, fadeOut:bool, randomnessMode:ShakeRandomnessMode) : Tweener
+ {static} DOShakeAnchorPos(target:RectTransform, duration:float, strength:Vector2, vibrato:int, randomness:float, snapping:bool, fadeOut:bool, randomnessMode:ShakeRandomnessMode) : Tweener
+ {static} DOJumpAnchorPos(target:RectTransform, endValue:Vector2, jumpPower:float, numJumps:int, duration:float, snapping:bool) : Sequence
+ {static} DONormalizedPos(target:ScrollRect, endValue:Vector2, duration:float, snapping:bool) : Tweener
+ {static} DOHorizontalNormalizedPos(target:ScrollRect, endValue:float, duration:float, snapping:bool) : Tweener
+ {static} DOVerticalNormalizedPos(target:ScrollRect, endValue:float, duration:float, snapping:bool) : Tweener
+ {static} DOValue(target:Slider, endValue:float, duration:float, snapping:bool) : TweenerCore<float, float, FloatOptions>
+ {static} DOColor(target:Text, endValue:Color, duration:float) : TweenerCore<Color, Color, ColorOptions>
+ {static} DOCounter(target:Text, fromValue:int, endValue:int, duration:float, addThousandsSeparator:bool, culture:CultureInfo) : TweenerCore<int, int, NoOptions>
+ {static} DOFade(target:Text, endValue:float, duration:float) : TweenerCore<Color, Color, ColorOptions>
+ {static} DOText(target:Text, endValue:string, duration:float, richTextEnabled:bool, scrambleMode:ScrambleMode, scrambleChars:string) : TweenerCore<string, string, StringOptions>
+ {static} DOBlendableColor(target:Graphic, endValue:Color, duration:float) : Tweener
+ {static} DOBlendableColor(target:Image, endValue:Color, duration:float) : Tweener
+ {static} DOBlendableColor(target:Text, endValue:Color, duration:float) : Tweener
+ {static} DOShapeCircle(target:RectTransform, center:Vector2, endValueDegrees:float, duration:float, relativeCenter:bool, snapping:bool) : TweenerCore<Vector2, Vector2, CircleOptions>
}
class Utils <<static>> {
+ {static} SwitchToRectTransform(from:RectTransform, to:RectTransform) : Vector2
}
DOTweenModuleUI +-- Utils
@enduml
@@ -0,0 +1,50 @@
@startuml
class DOTweenModuleUnityVersion <<static>> {
+ {static} DOGradientColor(target:Material, gradient:Gradient, duration:float) : Sequence
+ {static} DOGradientColor(target:Material, gradient:Gradient, property:string, duration:float) : Sequence
+ {static} WaitForCompletion(t:Tween, returnCustomYieldInstruction:bool) : CustomYieldInstruction
+ {static} WaitForRewind(t:Tween, returnCustomYieldInstruction:bool) : CustomYieldInstruction
+ {static} WaitForKill(t:Tween, returnCustomYieldInstruction:bool) : CustomYieldInstruction
+ {static} WaitForElapsedLoops(t:Tween, elapsedLoops:int, returnCustomYieldInstruction:bool) : CustomYieldInstruction
+ {static} WaitForPosition(t:Tween, position:float, returnCustomYieldInstruction:bool) : CustomYieldInstruction
+ {static} WaitForStart(t:Tween, returnCustomYieldInstruction:bool) : CustomYieldInstruction
}
class DOTweenCYInstruction <<static>> {
}
class WaitForCompletion {
+ <<override>> keepWaiting : bool <<get>>
+ WaitForCompletion(tween:Tween)
}
class WaitForRewind {
+ <<override>> keepWaiting : bool <<get>>
+ WaitForRewind(tween:Tween)
}
class WaitForKill {
+ <<override>> keepWaiting : bool <<get>>
+ WaitForKill(tween:Tween)
}
class WaitForElapsedLoops {
+ <<override>> keepWaiting : bool <<get>>
+ WaitForElapsedLoops(tween:Tween, elapsedLoops:int)
}
class WaitForPosition {
+ <<override>> keepWaiting : bool <<get>>
+ WaitForPosition(tween:Tween, position:float)
}
class WaitForStart {
+ <<override>> keepWaiting : bool <<get>>
+ WaitForStart(tween:Tween)
}
DOTweenCYInstruction +-- WaitForCompletion
CustomYieldInstruction <|-- WaitForCompletion
DOTweenCYInstruction +-- WaitForRewind
CustomYieldInstruction <|-- WaitForRewind
DOTweenCYInstruction +-- WaitForKill
CustomYieldInstruction <|-- WaitForKill
DOTweenCYInstruction +-- WaitForElapsedLoops
CustomYieldInstruction <|-- WaitForElapsedLoops
DOTweenCYInstruction +-- WaitForPosition
CustomYieldInstruction <|-- WaitForPosition
DOTweenCYInstruction +-- WaitForStart
CustomYieldInstruction <|-- WaitForStart
@enduml
@@ -0,0 +1,12 @@
@startuml
class DOTweenModuleUtils <<static>> {
+ {static} Init() : void
}
class Physics <<static>> {
+ {static} SetOrientationOnPath(options:PathOptions, t:Tween, newRot:Quaternion, trans:Transform) : void
+ {static} HasRigidbody2D(target:Component) : bool
+ {static} HasRigidbody(target:Component) : bool
+ {static} CreateDOTweenPathTween(target:MonoBehaviour, tweenRigidbody:bool, isLocal:bool, path:Path, duration:float, pathMode:PathMode) : TweenerCore<Vector3, Path, PathOptions>
}
DOTweenModuleUtils +-- Physics
@enduml
@@ -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