Initial commit
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
@startuml
|
||||
class HorizontalLineDecoratorDrawer {
|
||||
+ <<override>> GetHeight() : float
|
||||
+ <<override>> OnGUI(position:Rect) : void
|
||||
}
|
||||
DecoratorDrawer <|-- HorizontalLineDecoratorDrawer
|
||||
@enduml
|
||||
+7
@@ -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
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
@startuml
|
||||
class AllowNestingPropertyDrawer {
|
||||
}
|
||||
PropertyDrawerBase <|-- AllowNestingPropertyDrawer
|
||||
@enduml
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
@startuml
|
||||
class AnimatorParamPropertyDrawer {
|
||||
}
|
||||
PropertyDrawerBase <|-- AnimatorParamPropertyDrawer
|
||||
@enduml
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
@startuml
|
||||
class CurveRangePropertyDrawer {
|
||||
}
|
||||
PropertyDrawerBase <|-- CurveRangePropertyDrawer
|
||||
@enduml
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
@startuml
|
||||
class DropdownPropertyDrawer {
|
||||
}
|
||||
PropertyDrawerBase <|-- DropdownPropertyDrawer
|
||||
@enduml
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
@startuml
|
||||
class EnumFlagsPropertyDrawer {
|
||||
}
|
||||
PropertyDrawerBase <|-- EnumFlagsPropertyDrawer
|
||||
@enduml
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
@startuml
|
||||
class ExpandablePropertyDrawer {
|
||||
}
|
||||
PropertyDrawerBase <|-- ExpandablePropertyDrawer
|
||||
@enduml
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
@startuml
|
||||
class InputAxisPropertyDrawer {
|
||||
}
|
||||
PropertyDrawerBase <|-- InputAxisPropertyDrawer
|
||||
@enduml
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
@startuml
|
||||
class LayerPropertyDrawer {
|
||||
}
|
||||
PropertyDrawerBase <|-- LayerPropertyDrawer
|
||||
@enduml
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
@startuml
|
||||
class MinMaxSliderPropertyDrawer {
|
||||
}
|
||||
PropertyDrawerBase <|-- MinMaxSliderPropertyDrawer
|
||||
@enduml
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
@startuml
|
||||
class ProgressBarPropertyDrawer {
|
||||
}
|
||||
PropertyDrawerBase <|-- ProgressBarPropertyDrawer
|
||||
@enduml
|
||||
+9
@@ -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
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
@startuml
|
||||
class ResizableTextAreaPropertyDrawer {
|
||||
}
|
||||
PropertyDrawerBase <|-- ResizableTextAreaPropertyDrawer
|
||||
@enduml
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
@startuml
|
||||
class ScenePropertyDrawer {
|
||||
}
|
||||
PropertyDrawerBase <|-- ScenePropertyDrawer
|
||||
@enduml
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
@startuml
|
||||
class ShowAssetPreviewPropertyDrawer {
|
||||
}
|
||||
PropertyDrawerBase <|-- ShowAssetPreviewPropertyDrawer
|
||||
@enduml
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
@startuml
|
||||
class SortingLayerPropertyDrawer {
|
||||
}
|
||||
PropertyDrawerBase <|-- SortingLayerPropertyDrawer
|
||||
@enduml
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
@startuml
|
||||
class TagPropertyDrawer {
|
||||
}
|
||||
PropertyDrawerBase <|-- TagPropertyDrawer
|
||||
@enduml
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
@startuml
|
||||
class ReorderableListPropertyDrawer {
|
||||
+ ClearCache() : void
|
||||
}
|
||||
SpecialCasePropertyDrawerBase <|-- ReorderableListPropertyDrawer
|
||||
ReorderableListPropertyDrawer o-> "Instance" ReorderableListPropertyDrawer
|
||||
@enduml
|
||||
+9
@@ -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
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
@startuml
|
||||
class MaxValuePropertyValidator {
|
||||
+ <<override>> ValidateProperty(property:SerializedProperty) : void
|
||||
}
|
||||
PropertyValidatorBase <|-- MaxValuePropertyValidator
|
||||
@enduml
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
@startuml
|
||||
class MinValuePropertyValidator {
|
||||
+ <<override>> ValidateProperty(property:SerializedProperty) : void
|
||||
}
|
||||
PropertyValidatorBase <|-- MinValuePropertyValidator
|
||||
@enduml
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
@startuml
|
||||
abstract class PropertyValidatorBase {
|
||||
+ {abstract} ValidateProperty(property:SerializedProperty) : void
|
||||
}
|
||||
class ValidatorAttributeExtensions <<static>> {
|
||||
+ {static} GetValidator(attr:ValidatorAttribute) : PropertyValidatorBase
|
||||
}
|
||||
@enduml
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
@startuml
|
||||
class RequiredPropertyValidator {
|
||||
+ <<override>> ValidateProperty(property:SerializedProperty) : void
|
||||
}
|
||||
PropertyValidatorBase <|-- RequiredPropertyValidator
|
||||
@enduml
|
||||
+6
@@ -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
|
||||
Reference in New Issue
Block a user