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 AllowNestingAttribute {
}
DrawerAttribute <|-- AllowNestingAttribute
@enduml
@@ -0,0 +1,9 @@
@startuml
class AnimatorParamAttribute {
+ AnimatorName : string <<get>>
+ AnimatorParamAttribute(animatorName:string)
+ AnimatorParamAttribute(animatorName:string, animatorParamType:AnimatorControllerParameterType)
}
DrawerAttribute <|-- AnimatorParamAttribute
AnimatorParamAttribute --> "AnimatorParamType" AnimatorControllerParameterType
@enduml
@@ -0,0 +1,11 @@
@startuml
class CurveRangeAttribute {
+ CurveRangeAttribute(min:Vector2, max:Vector2, color:EColor)
+ CurveRangeAttribute(color:EColor)
+ CurveRangeAttribute(minX:float, minY:float, maxX:float, maxY:float, color:EColor)
}
DrawerAttribute <|-- CurveRangeAttribute
CurveRangeAttribute --> "Min" Vector2
CurveRangeAttribute --> "Max" Vector2
CurveRangeAttribute --> "Color" EColor
@enduml
@@ -0,0 +1,6 @@
@startuml
class DrawerAttribute {
}
PropertyAttribute <|-- DrawerAttribute
INaughtyAttribute <|-- DrawerAttribute
@enduml
@@ -0,0 +1,18 @@
@startuml
class DropdownAttribute {
+ ValuesName : string <<get>>
+ DropdownAttribute(valuesName:string)
}
interface IDropdownList {
}
class "DropdownList`1"<T> {
+ DropdownList()
+ Add(displayName:string, value:T) : void
+ GetEnumerator() : IEnumerator<KeyValuePair<string, object>>
}
class "IEnumerable`1"<T> {
}
DrawerAttribute <|-- DropdownAttribute
"IEnumerable`1" "<KeyValuePair<string, object>>" <|-- IDropdownList
IDropdownList <|-- "DropdownList`1"
@enduml
@@ -0,0 +1,5 @@
@startuml
class EnumFlagsAttribute {
}
DrawerAttribute <|-- EnumFlagsAttribute
@enduml
@@ -0,0 +1,5 @@
@startuml
class ExpandableAttribute {
}
DrawerAttribute <|-- ExpandableAttribute
@enduml
@@ -0,0 +1,10 @@
@startuml
class HorizontalLineAttribute {
+ <<const>> DefaultHeight : float = 2.0f
+ Height : float <<get>>
+ HorizontalLineAttribute(height:float, color:EColor)
}
DrawerAttribute <|-- HorizontalLineAttribute
HorizontalLineAttribute o-> "DefaultColor" EColor
HorizontalLineAttribute --> "Color" EColor
@enduml
@@ -0,0 +1,13 @@
@startuml
enum EInfoBoxType {
Normal,
Warning,
Error,
}
class InfoBoxAttribute {
+ Text : string <<get>>
+ InfoBoxAttribute(text:string, type:EInfoBoxType)
}
DrawerAttribute <|-- InfoBoxAttribute
InfoBoxAttribute --> "Type" EInfoBoxType
@enduml
@@ -0,0 +1,5 @@
@startuml
class InputAxisAttribute {
}
DrawerAttribute <|-- InputAxisAttribute
@enduml
@@ -0,0 +1,5 @@
@startuml
class LayerAttribute {
}
DrawerAttribute <|-- LayerAttribute
@enduml
@@ -0,0 +1,8 @@
@startuml
class MinMaxSliderAttribute {
+ MinValue : float <<get>>
+ MaxValue : float <<get>>
+ MinMaxSliderAttribute(minValue:float, maxValue:float)
}
DrawerAttribute <|-- MinMaxSliderAttribute
@enduml
@@ -0,0 +1,13 @@
@startuml
class ProgressBarAttribute {
+ Name : string <<get>>
+ MaxValue : float <<get>> <<set>>
+ MaxValueName : string <<get>>
+ ProgressBarAttribute(name:string, maxValue:float, color:EColor)
+ ProgressBarAttribute(name:string, maxValueName:string, color:EColor)
+ ProgressBarAttribute(maxValue:float, color:EColor)
+ ProgressBarAttribute(maxValueName:string, color:EColor)
}
DrawerAttribute <|-- ProgressBarAttribute
ProgressBarAttribute --> "Color" EColor
@enduml
@@ -0,0 +1,5 @@
@startuml
class ResizableTextAreaAttribute {
}
DrawerAttribute <|-- ResizableTextAreaAttribute
@enduml
@@ -0,0 +1,5 @@
@startuml
class SceneAttribute {
}
DrawerAttribute <|-- SceneAttribute
@enduml
@@ -0,0 +1,10 @@
@startuml
class ShowAssetPreviewAttribute {
+ <<const>> DefaultWidth : int = 64
+ <<const>> DefaultHeight : int = 64
+ Width : int <<get>>
+ Height : int <<get>>
+ ShowAssetPreviewAttribute(width:int, height:int)
}
DrawerAttribute <|-- ShowAssetPreviewAttribute
@enduml
@@ -0,0 +1,5 @@
@startuml
class SortingLayerAttribute {
}
DrawerAttribute <|-- SortingLayerAttribute
@enduml
@@ -0,0 +1,5 @@
@startuml
class TagAttribute {
}
DrawerAttribute <|-- TagAttribute
@enduml
@@ -0,0 +1,13 @@
@startuml
enum EButtonEnableMode {
Always,
Editor,
Playmode,
}
class ButtonAttribute {
+ Text : string <<get>>
+ ButtonAttribute(text:string, enabledMode:EButtonEnableMode)
}
SpecialCaseDrawerAttribute <|-- ButtonAttribute
ButtonAttribute --> "SelectedEnableMode" EButtonEnableMode
@enduml
@@ -0,0 +1,5 @@
@startuml
class ReorderableListAttribute {
}
SpecialCaseDrawerAttribute <|-- ReorderableListAttribute
@enduml
@@ -0,0 +1,5 @@
@startuml
class ShowNativePropertyAttribute {
}
SpecialCaseDrawerAttribute <|-- ShowNativePropertyAttribute
@enduml
@@ -0,0 +1,5 @@
@startuml
class ShowNonSerializedFieldAttribute {
}
SpecialCaseDrawerAttribute <|-- ShowNonSerializedFieldAttribute
@enduml
@@ -0,0 +1,6 @@
@startuml
class SpecialCaseDrawerAttribute {
}
Attribute <|-- SpecialCaseDrawerAttribute
INaughtyAttribute <|-- SpecialCaseDrawerAttribute
@enduml
@@ -0,0 +1,4 @@
@startuml
interface INaughtyAttribute {
}
@enduml
@@ -0,0 +1,8 @@
@startuml
class BoxGroupAttribute {
+ Name : string <<get>>
+ BoxGroupAttribute(name:string)
}
MetaAttribute <|-- BoxGroupAttribute
IGroupAttribute <|-- BoxGroupAttribute
@enduml
@@ -0,0 +1,8 @@
@startuml
class DisableIfAttribute {
+ DisableIfAttribute(condition:string)
+ DisableIfAttribute(conditionOperator:EConditionOperator, conditions:string[])
+ DisableIfAttribute(enumName:string, enumValue:object)
}
EnableIfAttributeBase <|-- DisableIfAttribute
@enduml
@@ -0,0 +1,8 @@
@startuml
class EnableIfAttribute {
+ EnableIfAttribute(condition:string)
+ EnableIfAttribute(conditionOperator:EConditionOperator, conditions:string[])
+ EnableIfAttribute(enumName:string, enumValue:object)
}
EnableIfAttributeBase <|-- EnableIfAttribute
@enduml
@@ -0,0 +1,11 @@
@startuml
abstract class EnableIfAttributeBase {
+ Inverted : bool <<get>> <<protected set>>
+ EnableIfAttributeBase(condition:string)
+ EnableIfAttributeBase(conditionOperator:EConditionOperator, conditions:string[])
+ EnableIfAttributeBase(enumName:string, enumValue:Enum)
}
MetaAttribute <|-- EnableIfAttributeBase
EnableIfAttributeBase --> "ConditionOperator" EConditionOperator
EnableIfAttributeBase --> "EnumValue" Enum
@enduml
@@ -0,0 +1,8 @@
@startuml
class FoldoutAttribute {
+ Name : string <<get>>
+ FoldoutAttribute(name:string)
}
MetaAttribute <|-- FoldoutAttribute
IGroupAttribute <|-- FoldoutAttribute
@enduml
@@ -0,0 +1,8 @@
@startuml
class HideIfAttribute {
+ HideIfAttribute(condition:string)
+ HideIfAttribute(conditionOperator:EConditionOperator, conditions:string[])
+ HideIfAttribute(enumName:string, enumValue:object)
}
ShowIfAttributeBase <|-- HideIfAttribute
@enduml
@@ -0,0 +1,4 @@
@startuml
interface IGroupAttribute {
}
@enduml
@@ -0,0 +1,7 @@
@startuml
class LabelAttribute {
+ Label : string <<get>>
+ LabelAttribute(label:string)
}
MetaAttribute <|-- LabelAttribute
@enduml
@@ -0,0 +1,6 @@
@startuml
class MetaAttribute {
}
Attribute <|-- MetaAttribute
INaughtyAttribute <|-- MetaAttribute
@enduml
@@ -0,0 +1,7 @@
@startuml
class OnValueChangedAttribute {
+ CallbackName : string <<get>>
+ OnValueChangedAttribute(callbackName:string)
}
MetaAttribute <|-- OnValueChangedAttribute
@enduml
@@ -0,0 +1,5 @@
@startuml
class ReadOnlyAttribute {
}
MetaAttribute <|-- ReadOnlyAttribute
@enduml
@@ -0,0 +1,8 @@
@startuml
class ShowIfAttribute {
+ ShowIfAttribute(condition:string)
+ ShowIfAttribute(conditionOperator:EConditionOperator, conditions:string[])
+ ShowIfAttribute(enumName:string, enumValue:object)
}
ShowIfAttributeBase <|-- ShowIfAttribute
@enduml
@@ -0,0 +1,11 @@
@startuml
class ShowIfAttributeBase {
+ Inverted : bool <<get>> <<protected set>>
+ ShowIfAttributeBase(condition:string)
+ ShowIfAttributeBase(conditionOperator:EConditionOperator, conditions:string[])
+ ShowIfAttributeBase(enumName:string, enumValue:Enum)
}
MetaAttribute <|-- ShowIfAttributeBase
ShowIfAttributeBase --> "ConditionOperator" EConditionOperator
ShowIfAttributeBase --> "EnumValue" Enum
@enduml
@@ -0,0 +1,19 @@
@startuml
enum EColor {
Clear,
White,
Black,
Gray,
Red,
Pink,
Orange,
Yellow,
Green,
Blue,
Indigo,
Violet,
}
class EColorExtensions <<static>> {
+ {static} GetColor(color:EColor) : Color
}
@enduml
@@ -0,0 +1,6 @@
@startuml
enum EConditionOperator {
And,
Or,
}
@enduml
@@ -0,0 +1,8 @@
@startuml
class MaxValueAttribute {
+ MaxValue : float <<get>>
+ MaxValueAttribute(maxValue:float)
+ MaxValueAttribute(maxValue:int)
}
ValidatorAttribute <|-- MaxValueAttribute
@enduml
@@ -0,0 +1,8 @@
@startuml
class MinValueAttribute {
+ MinValue : float <<get>>
+ MinValueAttribute(minValue:float)
+ MinValueAttribute(minValue:int)
}
ValidatorAttribute <|-- MinValueAttribute
@enduml
@@ -0,0 +1,7 @@
@startuml
class RequiredAttribute {
+ Message : string <<get>>
+ RequiredAttribute(message:string)
}
ValidatorAttribute <|-- RequiredAttribute
@enduml
@@ -0,0 +1,8 @@
@startuml
class ValidateInputAttribute {
+ CallbackName : string <<get>>
+ Message : string <<get>>
+ ValidateInputAttribute(callbackName:string, message:string)
}
ValidatorAttribute <|-- ValidateInputAttribute
@enduml
@@ -0,0 +1,6 @@
@startuml
class ValidatorAttribute {
}
Attribute <|-- ValidatorAttribute
INaughtyAttribute <|-- ValidatorAttribute
@enduml
@@ -0,0 +1,7 @@
@startuml
class HorizontalLineDecoratorDrawer {
+ <<override>> GetHeight() : float
+ <<override>> OnGUI(position:Rect) : void
}
DecoratorDrawer <|-- HorizontalLineDecoratorDrawer
@enduml
@@ -0,0 +1,7 @@
@startuml
class InfoBoxDecoratorDrawer {
+ <<override>> GetHeight() : float
+ <<override>> OnGUI(rect:Rect) : void
}
DecoratorDrawer <|-- InfoBoxDecoratorDrawer
@enduml
@@ -0,0 +1,5 @@
@startuml
class NaughtyInspector {
+ <<override>> OnInspectorGUI() : void
}
@enduml
@@ -0,0 +1,5 @@
@startuml
class AllowNestingPropertyDrawer {
}
PropertyDrawerBase <|-- AllowNestingPropertyDrawer
@enduml
@@ -0,0 +1,5 @@
@startuml
class AnimatorParamPropertyDrawer {
}
PropertyDrawerBase <|-- AnimatorParamPropertyDrawer
@enduml
@@ -0,0 +1,5 @@
@startuml
class CurveRangePropertyDrawer {
}
PropertyDrawerBase <|-- CurveRangePropertyDrawer
@enduml
@@ -0,0 +1,5 @@
@startuml
class DropdownPropertyDrawer {
}
PropertyDrawerBase <|-- DropdownPropertyDrawer
@enduml
@@ -0,0 +1,5 @@
@startuml
class EnumFlagsPropertyDrawer {
}
PropertyDrawerBase <|-- EnumFlagsPropertyDrawer
@enduml
@@ -0,0 +1,5 @@
@startuml
class ExpandablePropertyDrawer {
}
PropertyDrawerBase <|-- ExpandablePropertyDrawer
@enduml
@@ -0,0 +1,5 @@
@startuml
class InputAxisPropertyDrawer {
}
PropertyDrawerBase <|-- InputAxisPropertyDrawer
@enduml
@@ -0,0 +1,5 @@
@startuml
class LayerPropertyDrawer {
}
PropertyDrawerBase <|-- LayerPropertyDrawer
@enduml
@@ -0,0 +1,5 @@
@startuml
class MinMaxSliderPropertyDrawer {
}
PropertyDrawerBase <|-- MinMaxSliderPropertyDrawer
@enduml
@@ -0,0 +1,5 @@
@startuml
class ProgressBarPropertyDrawer {
}
PropertyDrawerBase <|-- ProgressBarPropertyDrawer
@enduml
@@ -0,0 +1,9 @@
@startuml
abstract class PropertyDrawerBase {
+ <<sealed>> <<override>> OnGUI(rect:Rect, property:SerializedProperty, label:GUIContent) : void
<<sealed>> <<override>> + GetPropertyHeight(property:SerializedProperty, label:GUIContent) : float
+ <<virtual>> GetHelpBoxHeight() : float
+ DrawDefaultPropertyAndHelpBox(rect:Rect, property:SerializedProperty, message:string, messageType:MessageType) : void
}
PropertyDrawer <|-- PropertyDrawerBase
@enduml
@@ -0,0 +1,5 @@
@startuml
class ResizableTextAreaPropertyDrawer {
}
PropertyDrawerBase <|-- ResizableTextAreaPropertyDrawer
@enduml
@@ -0,0 +1,5 @@
@startuml
class ScenePropertyDrawer {
}
PropertyDrawerBase <|-- ScenePropertyDrawer
@enduml
@@ -0,0 +1,5 @@
@startuml
class ShowAssetPreviewPropertyDrawer {
}
PropertyDrawerBase <|-- ShowAssetPreviewPropertyDrawer
@enduml
@@ -0,0 +1,5 @@
@startuml
class SortingLayerPropertyDrawer {
}
PropertyDrawerBase <|-- SortingLayerPropertyDrawer
@enduml
@@ -0,0 +1,5 @@
@startuml
class TagPropertyDrawer {
}
PropertyDrawerBase <|-- TagPropertyDrawer
@enduml
@@ -0,0 +1,7 @@
@startuml
class ReorderableListPropertyDrawer {
+ ClearCache() : void
}
SpecialCasePropertyDrawerBase <|-- ReorderableListPropertyDrawer
ReorderableListPropertyDrawer o-> "Instance" ReorderableListPropertyDrawer
@enduml
@@ -0,0 +1,9 @@
@startuml
abstract class SpecialCasePropertyDrawerBase {
+ OnGUI(rect:Rect, property:SerializedProperty) : void
+ GetPropertyHeight(property:SerializedProperty) : float
}
class SpecialCaseDrawerAttributeExtensions <<static>> {
+ {static} GetDrawer(attr:SpecialCaseDrawerAttribute) : SpecialCasePropertyDrawerBase
}
@enduml
@@ -0,0 +1,6 @@
@startuml
class MaxValuePropertyValidator {
+ <<override>> ValidateProperty(property:SerializedProperty) : void
}
PropertyValidatorBase <|-- MaxValuePropertyValidator
@enduml
@@ -0,0 +1,6 @@
@startuml
class MinValuePropertyValidator {
+ <<override>> ValidateProperty(property:SerializedProperty) : void
}
PropertyValidatorBase <|-- MinValuePropertyValidator
@enduml
@@ -0,0 +1,8 @@
@startuml
abstract class PropertyValidatorBase {
+ {abstract} ValidateProperty(property:SerializedProperty) : void
}
class ValidatorAttributeExtensions <<static>> {
+ {static} GetValidator(attr:ValidatorAttribute) : PropertyValidatorBase
}
@enduml
@@ -0,0 +1,6 @@
@startuml
class RequiredPropertyValidator {
+ <<override>> ValidateProperty(property:SerializedProperty) : void
}
PropertyValidatorBase <|-- RequiredPropertyValidator
@enduml
@@ -0,0 +1,6 @@
@startuml
class ValidateInputPropertyValidator {
+ <<override>> ValidateProperty(property:SerializedProperty) : void
}
PropertyValidatorBase <|-- ValidateInputPropertyValidator
@enduml
@@ -0,0 +1,6 @@
@startuml
class ButtonUtility <<static>> {
+ {static} IsEnabled(target:Object, method:MethodInfo) : bool
+ {static} IsVisible(target:Object, method:MethodInfo) : bool
}
@enduml
@@ -0,0 +1,19 @@
@startuml
class NaughtyEditorGUI <<static>> {
+ <<const>> IndentLength : float = 15.0f
+ <<const>> HorizontalSpacing : float = 2.0f
+ {static} PropertyField(rect:Rect, property:SerializedProperty, includeChildren:bool) : void
+ {static} PropertyField_Layout(property:SerializedProperty, includeChildren:bool) : void
+ {static} GetIndentLength(sourceRect:Rect) : float
+ {static} BeginBoxGroup_Layout(label:string) : void
+ {static} EndBoxGroup_Layout() : void
+ {static} Dropdown(rect:Rect, serializedObject:SerializedObject, target:object, dropdownField:FieldInfo, label:string, selectedValueIndex:int, values:object[], displayOptions:string[]) : void
+ {static} Button(target:UnityEngine.Object, methodInfo:MethodInfo) : void
+ {static} NativeProperty_Layout(target:UnityEngine.Object, property:PropertyInfo) : void
+ {static} NonSerializedField_Layout(target:UnityEngine.Object, field:FieldInfo) : void
+ {static} HorizontalLine(rect:Rect, height:float, color:Color) : void
+ {static} HelpBox(rect:Rect, message:string, type:MessageType, context:UnityEngine.Object, logToConsole:bool) : void
+ {static} HelpBox_Layout(message:string, type:MessageType, context:UnityEngine.Object, logToConsole:bool) : void
+ {static} Field_Layout(value:object, label:string) : bool
}
@enduml
@@ -0,0 +1,13 @@
@startuml
class PropertyUtility <<static>> {
+ {static} GetAttribute(property:SerializedProperty) : T
+ {static} GetAttributes(property:SerializedProperty) : T[]
+ {static} GetLabel(property:SerializedProperty) : GUIContent
+ {static} CallOnValueChangedCallbacks(property:SerializedProperty) : void
+ {static} IsEnabled(property:SerializedProperty) : bool
+ {static} IsVisible(property:SerializedProperty) : bool
+ {static} GetPropertyType(property:SerializedProperty) : Type
+ {static} GetTargetObjectOfProperty(property:SerializedProperty) : object
+ {static} GetTargetObjectWithProperty(property:SerializedProperty) : object
}
@enduml
@@ -0,0 +1,11 @@
@startuml
class ReflectionUtility <<static>> {
+ {static} GetAllFields(target:object, predicate:Func<FieldInfo, bool>) : IEnumerable<FieldInfo>
+ {static} GetAllProperties(target:object, predicate:Func<PropertyInfo, bool>) : IEnumerable<PropertyInfo>
+ {static} GetAllMethods(target:object, predicate:Func<MethodInfo, bool>) : IEnumerable<MethodInfo>
+ {static} GetField(target:object, fieldName:string) : FieldInfo
+ {static} GetProperty(target:object, propertyName:string) : PropertyInfo
+ {static} GetMethod(target:object, methodName:string) : MethodInfo
+ {static} GetListElementType(listType:Type) : Type
}
@enduml
@@ -0,0 +1,6 @@
@startuml
class SavedBool {
+ Value : bool <<get>> <<set>>
+ SavedBool(name:string, value:bool)
}
@enduml
@@ -0,0 +1,20 @@
@startuml
class AnimatorParamTest {
+ hash0 : int
+ name0 : string
}
class AnimatorParamNest1 {
+ hash1 : int
+ name1 : string
}
class AnimatorParamNest2 {
+ hash1 : int
+ name1 : string
}
MonoBehaviour <|-- AnimatorParamTest
AnimatorParamTest --> "animator0" Animator
AnimatorParamTest --> "nest1" AnimatorParamNest1
AnimatorParamNest1 --> "animator1" Animator
AnimatorParamNest1 --> "nest2" AnimatorParamNest2
AnimatorParamNest2 --> "animator2" Animator
@enduml
@@ -0,0 +1,15 @@
@startuml
class BoxGroupTest {
+ int0 : int
+ int1 : int
+ float0 : float
+ float1 : float
+ str0 : string
+ str1 : string
}
MonoBehaviour <|-- BoxGroupTest
BoxGroupTest --> "slider0" Vector2
BoxGroupTest --> "slider1" Vector2
BoxGroupTest --> "trans0" Transform
BoxGroupTest --> "trans1" Transform
@enduml
@@ -0,0 +1,6 @@
@startuml
class ButtonTest {
+ myInt : int
}
MonoBehaviour <|-- ButtonTest
@enduml
@@ -0,0 +1,18 @@
@startuml
class CurveRangeTest {
}
class CurveRangeNest1 {
}
class CurveRangeNest2 {
}
MonoBehaviour <|-- CurveRangeTest
CurveRangeTest --> "curve" AnimationCurve
CurveRangeTest --> "curve1" AnimationCurve
CurveRangeTest --> "curve2" AnimationCurve
CurveRangeTest --> "nest1" CurveRangeNest1
CurveRangeTest +-- CurveRangeNest1
CurveRangeNest1 --> "curve" AnimationCurve
CurveRangeNest1 --> "nest2" CurveRangeNest2
CurveRangeTest +-- CurveRangeNest2
CurveRangeNest2 --> "curve" AnimationCurve
@enduml
@@ -0,0 +1,52 @@
@startuml
class DisableIfTest {
+ disable1 : bool
+ disable2 : bool
}
class DisableIfNest1 {
+ disable1 : bool
+ disable2 : bool
+ Disable1 : bool <<get>>
+ Disable2 : bool <<get>>
+ disableIfAll : int = 1
+ disableIfAny : int = 2
+ disableIfEnum : int = 3
+ disableIfEnumFlag : int
+ disableIfEnumFlagMulti : int
}
class DisableIfNest2 {
+ disable1 : bool
+ disable2 : bool
+ GetDisable1() : bool
+ GetDisable2() : bool
+ GetEnum1() : DisableIfEnum
+ GetEnum2() : DisableIfEnumFlag
}
enum DisableIfEnum {
Case0,
Case1,
Case2,
}
enum DisableIfEnumFlag {
Flag0= 1,
Flag1= 2,
Flag2= 4,
Flag3= 8,
}
MonoBehaviour <|-- DisableIfTest
DisableIfTest --> "enum1" DisableIfEnum
DisableIfTest --> "enum2" DisableIfEnumFlag
DisableIfTest --> "nest1" DisableIfNest1
DisableIfNest1 --> "enum1" DisableIfEnum
DisableIfNest1 --> "enum2" DisableIfEnumFlag
DisableIfNest1 --> "Enum1" DisableIfEnum
DisableIfNest1 --> "Enum2" DisableIfEnumFlag
DisableIfNest1 --> "nest2" DisableIfNest2
DisableIfNest2 --> "enum1" DisableIfEnum
DisableIfNest2 --> "enum2" DisableIfEnumFlag
DisableIfNest2 o-> "enableIfAll" Vector2
DisableIfNest2 o-> "enableIfAny" Vector2
DisableIfNest2 o-> "enableIfEnum" Vector2
DisableIfNest2 --> "disableIfEnumFlag" Vector2
DisableIfNest2 --> "disableIfEnumFlagMulti" Vector2
@enduml
@@ -0,0 +1,14 @@
@startuml
class DropdownTest {
+ intValue : int
}
class DropdownNest1 {
+ stringValue : string
}
class DropdownNest2 {
}
MonoBehaviour <|-- DropdownTest
DropdownTest --> "nest1" DropdownNest1
DropdownNest1 --> "nest2" DropdownNest2
DropdownNest2 --> "vectorValue" Vector3
@enduml
@@ -0,0 +1,52 @@
@startuml
class EnableIfTest {
+ enable1 : bool
+ enable2 : bool
}
class EnableIfNest1 {
+ enable1 : bool
+ enable2 : bool
+ Enable1 : bool <<get>>
+ Enable2 : bool <<get>>
+ enableIfAll : int
+ enableIfAny : int
+ enableIfEnum : int
+ enableIfEnumFlag : int
+ enableIfEnumFlagMulti : int
}
class EnableIfNest2 {
+ enable1 : bool
+ enable2 : bool
+ GetEnable1() : bool
+ GetEnable2() : bool
+ GetEnum1() : EnableIfEnum
+ GetEnum2() : EnableIfEnumFlag
}
enum EnableIfEnum {
Case0,
Case1,
Case2,
}
enum EnableIfEnumFlag {
Flag0= 1,
Flag1= 2,
Flag2= 4,
Flag3= 8,
}
MonoBehaviour <|-- EnableIfTest
EnableIfTest --> "enum1" EnableIfEnum
EnableIfTest --> "enum2" EnableIfEnumFlag
EnableIfTest --> "nest1" EnableIfNest1
EnableIfNest1 --> "enum1" EnableIfEnum
EnableIfNest1 --> "enum2" EnableIfEnumFlag
EnableIfNest1 --> "Enum1" EnableIfEnum
EnableIfNest1 --> "Enum2" EnableIfEnumFlag
EnableIfNest1 --> "nest2" EnableIfNest2
EnableIfNest2 --> "enum1" EnableIfEnum
EnableIfNest2 --> "enum2" EnableIfEnumFlag
EnableIfNest2 o-> "enableIfAll" Vector2
EnableIfNest2 o-> "enableIfAny" Vector2
EnableIfNest2 o-> "enableIfEnum" Vector2
EnableIfNest2 --> "enableIfEnumFlag" Vector2
EnableIfNest2 --> "enableIfEnumFlagMulti" Vector2
@enduml
@@ -0,0 +1,23 @@
@startuml
enum TestEnum {
None= 0,
B= 1 << 0,
C= 1 << 1,
D= 1 << 2,
E= 1 << 3,
F= 1 << 4,
All= ~0,
}
class EnumFlagsTest {
}
class EnumFlagsNest1 {
}
class EnumFlagsNest2 {
}
MonoBehaviour <|-- EnumFlagsTest
EnumFlagsTest --> "flags0" TestEnum
EnumFlagsTest --> "nest1" EnumFlagsNest1
EnumFlagsNest1 --> "flags1" TestEnum
EnumFlagsNest1 --> "nest2" EnumFlagsNest2
EnumFlagsNest2 --> "flags2" TestEnum
@enduml
@@ -0,0 +1,15 @@
@startuml
class ExpandableTest {
+ precedingField : int = 5
}
class ExpandableScriptableObjectNest1 {
}
class ExpandableScriptableObjectNest2 {
}
MonoBehaviour <|-- ExpandableTest
ExpandableTest --> "obj0" ScriptableObject
ExpandableTest --> "nest1" ExpandableScriptableObjectNest1
ExpandableScriptableObjectNest1 --> "obj1" ScriptableObject
ExpandableScriptableObjectNest1 --> "nest2" ExpandableScriptableObjectNest2
ExpandableScriptableObjectNest2 --> "obj2" ScriptableObject
@enduml
@@ -0,0 +1,15 @@
@startuml
class FoldoutTest {
+ int0 : int
+ int1 : int
+ float0 : float
+ float1 : float
+ str0 : string
+ str1 : string
}
MonoBehaviour <|-- FoldoutTest
FoldoutTest --> "slider0" Vector2
FoldoutTest --> "slider1" Vector2
FoldoutTest --> "trans0" Transform
FoldoutTest --> "trans1" Transform
@enduml
@@ -0,0 +1,52 @@
@startuml
class HideIfTest {
+ hide1 : bool
+ hide2 : bool
}
class HideIfNest1 {
+ hide1 : bool
+ hide2 : bool
+ Hide1 : bool <<get>>
+ Hide2 : bool <<get>>
+ hideIfAll : int
+ hideIfAny : int
+ hideIfEnum : int
+ hideIfEnumFlag : int
+ hideIfEnumFlagMulti : int
}
class HideIfNest2 {
+ hide1 : bool
+ hide2 : bool
+ GetHide1() : bool
+ GetHide2() : bool
+ GetEnum1() : HideIfEnum
+ GetEnum2() : HideIfEnumFlag
}
enum HideIfEnum {
Case0,
Case1,
Case2,
}
enum HideIfEnumFlag {
Flag0= 1,
Flag1= 2,
Flag2= 4,
Flag3= 8,
}
MonoBehaviour <|-- HideIfTest
HideIfTest --> "enum1" HideIfEnum
HideIfTest --> "enum2" HideIfEnumFlag
HideIfTest --> "nest1" HideIfNest1
HideIfNest1 --> "enum1" HideIfEnum
HideIfNest1 --> "enum2" HideIfEnumFlag
HideIfNest1 --> "Enum1" HideIfEnum
HideIfNest1 --> "Enum2" HideIfEnumFlag
HideIfNest1 --> "nest2" HideIfNest2
HideIfNest2 --> "enum1" HideIfEnum
HideIfNest2 --> "enum2" HideIfEnumFlag
HideIfNest2 o-> "hideIfAll" Vector2
HideIfNest2 o-> "hideIfAny" Vector2
HideIfNest2 o-> "hideIfEnum" Vector2
HideIfNest2 --> "hideIfEnumFlag" Vector2
HideIfNest2 --> "hideIfEnumFlagMulti" Vector2
@enduml
@@ -0,0 +1,14 @@
@startuml
class HorizontalLineTest {
+ line0 : int
}
class HorizontalLineNest1 {
+ line1 : int
}
class HorizontalLineNest2 {
+ line2 : int
}
MonoBehaviour <|-- HorizontalLineTest
HorizontalLineTest --> "nest1" HorizontalLineNest1
HorizontalLineNest1 --> "nest2" HorizontalLineNest2
@enduml
@@ -0,0 +1,14 @@
@startuml
class InfoBoxTest {
+ normal : int
}
class InfoBoxNest1 {
+ warning : int
}
class InfoBoxNest2 {
+ error : int
}
MonoBehaviour <|-- InfoBoxTest
InfoBoxTest --> "nest1" InfoBoxNest1
InfoBoxNest1 --> "nest2" InfoBoxNest2
@enduml
@@ -0,0 +1,14 @@
@startuml
class InputAxisTest {
+ inputAxis0 : string
}
class InputAxisNest1 {
+ inputAxis1 : string
}
struct InputAxisNest2 {
+ inputAxis2 : string
}
MonoBehaviour <|-- InputAxisTest
InputAxisTest --> "nest1" InputAxisNest1
InputAxisNest1 --> "nest2" InputAxisNest2
@enduml
@@ -0,0 +1,14 @@
@startuml
class LabelTest {
+ int0 : int
}
class LabelNest1 {
+ int1 : int
}
class LabelNest2 {
}
MonoBehaviour <|-- LabelTest
LabelTest --> "nest1" LabelNest1
LabelNest1 --> "nest2" LabelNest2
LabelNest2 --> "vector2" Vector2
@enduml
@@ -0,0 +1,18 @@
@startuml
class LayerTest {
+ layerNumber0 : int
+ layerName0 : string
+ DebugLog() : void
}
class LayerNest1 {
+ layerNumber1 : int
+ layerName1 : string
}
struct LayerNest2 {
+ layerNumber2 : int
+ layerName2 : string
}
MonoBehaviour <|-- LayerTest
LayerTest --> "nest1" LayerNest1
LayerNest1 --> "nest2" LayerNest2
@enduml
@@ -0,0 +1,14 @@
@startuml
class MinMaxSliderTest {
}
class MinMaxSliderNest1 {
}
class MinMaxSliderNest2 {
}
MonoBehaviour <|-- MinMaxSliderTest
MinMaxSliderTest o-> "minMaxSlider0" Vector2
MinMaxSliderTest --> "nest1" MinMaxSliderNest1
MinMaxSliderNest1 o-> "minMaxSlider1" Vector2
MinMaxSliderNest1 --> "nest2" MinMaxSliderNest2
MinMaxSliderNest2 o-> "minMaxSlider2" Vector2Int
@enduml
@@ -0,0 +1,41 @@
@startuml
class MinMaxValueTest {
+ min0Int : int
+ max0Int : int
+ range01Float : float
}
class MinMaxValueNest1 {
+ min0Int : int
+ max0Int : int
+ range01Float : float
}
class MinMaxValueNest2 {
+ min0Int : int
+ max0Int : int
+ range01Float : float
}
MonoBehaviour <|-- MinMaxValueTest
MinMaxValueTest --> "range01Vector2" Vector2
MinMaxValueTest --> "range01Vector3" Vector3
MinMaxValueTest --> "range01Vector4" Vector4
MinMaxValueTest --> "min0Vector2Int" Vector2Int
MinMaxValueTest --> "max100Vector2Int" Vector2Int
MinMaxValueTest --> "min0Vector3Int" Vector3Int
MinMaxValueTest --> "max100Vector3Int" Vector3Int
MinMaxValueTest --> "nest1" MinMaxValueNest1
MinMaxValueNest1 --> "range01Vector2" Vector2
MinMaxValueNest1 --> "range01Vector3" Vector3
MinMaxValueNest1 --> "range01Vector4" Vector4
MinMaxValueNest1 --> "min0Vector2Int" Vector2Int
MinMaxValueNest1 --> "max100Vector2Int" Vector2Int
MinMaxValueNest1 --> "min0Vector3Int" Vector3Int
MinMaxValueNest1 --> "max100Vector3Int" Vector3Int
MinMaxValueNest1 --> "nest2" MinMaxValueNest2
MinMaxValueNest2 --> "range01Vector2" Vector2
MinMaxValueNest2 --> "range01Vector3" Vector3
MinMaxValueNest2 --> "range01Vector4" Vector4
MinMaxValueNest2 --> "min0Vector2Int" Vector2Int
MinMaxValueNest2 --> "max100Vector2Int" Vector2Int
MinMaxValueNest2 --> "min0Vector3Int" Vector3Int
MinMaxValueNest2 --> "max100Vector3Int" Vector3Int
@enduml
@@ -0,0 +1,14 @@
@startuml
class OnValueChangedTest {
+ int0 : int
}
class OnValueChangedNest1 {
+ int1 : int
}
class OnValueChangedNest2 {
+ int2 : int
}
MonoBehaviour <|-- OnValueChangedTest
OnValueChangedTest --> "nest1" OnValueChangedNest1
OnValueChangedNest1 --> "nest2" OnValueChangedNest2
@enduml
@@ -0,0 +1,16 @@
@startuml
class ProgressBarTest {
+ health : float = 50.0f
+ elixir : int = 50
+ maxElixir : int = 100
}
class ProgressBarNest1 {
+ mana : float = 25.0f
}
class ProgressBarNest2 {
+ stamina : float = 75.0f
}
MonoBehaviour <|-- ProgressBarTest
ProgressBarTest --> "nest1" ProgressBarNest1
ProgressBarNest1 --> "nest2" ProgressBarNest2
@enduml
@@ -0,0 +1,14 @@
@startuml
class ReadOnlyTest {
+ readOnlyInt : int = 5
}
class ReadOnlyNest1 {
+ readOnlyFloat : float = 3.14f
}
struct ReadOnlyNest2 {
+ readOnlyString : string
}
MonoBehaviour <|-- ReadOnlyTest
ReadOnlyTest --> "nest1" ReadOnlyNest1
ReadOnlyNest1 --> "nest2" ReadOnlyNest2
@enduml
@@ -0,0 +1,16 @@
@startuml
class ReorderableListTest {
}
struct SomeStruct {
+ Int : int
+ Float : float
}
class "List`1"<T> {
}
MonoBehaviour <|-- ReorderableListTest
ReorderableListTest --> "vectorList<Vector3>" "List`1"
ReorderableListTest --> "structList<SomeStruct>" "List`1"
ReorderableListTest --> "transformsList<Transform>" "List`1"
ReorderableListTest --> "monoBehavioursList<MonoBehaviour>" "List`1"
SomeStruct --> "Vector" Vector3
@enduml
@@ -0,0 +1,14 @@
@startuml
class RequiredTest {
}
class RequiredNest1 {
}
class RequiredNest2 {
}
MonoBehaviour <|-- RequiredTest
RequiredTest --> "trans0" Transform
RequiredTest --> "nest1" RequiredNest1
RequiredNest1 --> "trans1" Transform
RequiredNest1 --> "nest2" RequiredNest2
RequiredNest2 --> "trans2" Transform
@enduml
@@ -0,0 +1,14 @@
@startuml
class ResizableTextAreaTest {
+ text0 : string
}
class ResizableTextAreaNest1 {
+ text1 : string
}
class ResizableTextAreaNest2 {
+ text2 : string
}
MonoBehaviour <|-- ResizableTextAreaTest
ResizableTextAreaTest --> "nest1" ResizableTextAreaNest1
ResizableTextAreaNest1 --> "nest2" ResizableTextAreaNest2
@enduml
@@ -0,0 +1,14 @@
@startuml
class SceneTest {
+ scene0 : string
}
class SceneNest1 {
+ scene1 : string
}
struct SceneNest2 {
+ scene2 : int
}
MonoBehaviour <|-- SceneTest
SceneTest --> "nest1" SceneNest1
SceneNest1 --> "nest2" SceneNest2
@enduml

Some files were not shown because too many files have changed in this diff Show More