Initial commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
@startuml
|
||||
class BlockDataCreatorEditor {
|
||||
+ {static} ShowWindow() : void
|
||||
+ CreateBlockData() : void
|
||||
+ CreateBlockData(Prefab:GameObject) : BlockData
|
||||
}
|
||||
EditorWindow <|-- BlockDataCreatorEditor
|
||||
@enduml
|
||||
@@ -0,0 +1,5 @@
|
||||
@startuml
|
||||
class BlockDataIconLinker {
|
||||
}
|
||||
AssetPostprocessor <|-- BlockDataIconLinker
|
||||
@enduml
|
||||
@@ -0,0 +1,15 @@
|
||||
@startuml
|
||||
enum PlaneAxis {
|
||||
XZ= 0,
|
||||
XY= 1,
|
||||
YZ= 2,
|
||||
}
|
||||
class PlaneSelection {
|
||||
}
|
||||
class PlaneSelector {
|
||||
}
|
||||
PlaneSelection --> "planeAxis" PlaneAxis
|
||||
PlaneSelection --> "WorldGrid" GameObject
|
||||
MonoBehaviour <|-- PlaneSelector
|
||||
PlaneSelector --> "planeAxisDropDown" TMP_Dropdown
|
||||
@enduml
|
||||
@@ -0,0 +1,59 @@
|
||||
@startuml
|
||||
class mainComponent {
|
||||
}
|
||||
class blockSettings {
|
||||
}
|
||||
class PrefabCreatorSettings {
|
||||
+ SavePath : string = "Assets/_Project/Prefabs"
|
||||
+ Name : string = "Block"
|
||||
+ IteratedNumbering : bool = false
|
||||
+ Suffix : string = " vX"
|
||||
+ OverwriteExisting : bool = false
|
||||
}
|
||||
class GrabInteractableSettings {
|
||||
+ Test : string
|
||||
}
|
||||
class MechanicalBlockSettings {
|
||||
+ Test : string
|
||||
}
|
||||
class AttachableBlockSettings {
|
||||
}
|
||||
class SocketContainerSettings {
|
||||
+ Test : string
|
||||
}
|
||||
class ValidatorSettings {
|
||||
}
|
||||
class SocketPointSettings {
|
||||
+ SocketRadius : float
|
||||
}
|
||||
class MiscSettings {
|
||||
}
|
||||
mainComponent --> "GInteract" MonoScript
|
||||
mainComponent --> "MBlock" MonoScript
|
||||
mainComponent --> "ABlock" MonoScript
|
||||
mainComponent --> "SContain" MonoScript
|
||||
mainComponent --> "PValidate" MonoScript
|
||||
mainComponent --> "SPoint" MonoScript
|
||||
mainComponent --> "CInit" MonoScript
|
||||
blockSettings --> "grabInteractable" GrabInteractableSettings
|
||||
blockSettings --> "mechanicalBlock" MechanicalBlockSettings
|
||||
blockSettings --> "attachableBlock" AttachableBlockSettings
|
||||
blockSettings --> "socketContainer" SocketContainerSettings
|
||||
blockSettings --> "validator" ValidatorSettings
|
||||
blockSettings --> "socketPoint" SocketPointSettings
|
||||
blockSettings --> "MiscellaneousSettings" MiscSettings
|
||||
ScriptableObject <|-- PrefabCreatorSettings
|
||||
PrefabCreatorSettings --> "MainComponents" mainComponent
|
||||
PrefabCreatorSettings --> "BlockSettings" blockSettings
|
||||
PrefabCreatorSettings --> "categoryData" CategoryData
|
||||
blockSettings +-- GrabInteractableSettings
|
||||
blockSettings +-- MechanicalBlockSettings
|
||||
blockSettings +-- AttachableBlockSettings
|
||||
AttachableBlockSettings --> "Type" BlockType
|
||||
blockSettings +-- SocketContainerSettings
|
||||
blockSettings +-- ValidatorSettings
|
||||
ValidatorSettings --> "CollisionLayerMask" LayerMask
|
||||
blockSettings +-- SocketPointSettings
|
||||
blockSettings +-- MiscSettings
|
||||
MiscSettings --> "BlockLayer" LayerMask
|
||||
@enduml
|
||||
@@ -0,0 +1,5 @@
|
||||
@startuml
|
||||
class PrefabCreatorTool {
|
||||
+ {static} CreateStart(Target:GameObject, Settings:PrefabCreatorSettings) : void
|
||||
}
|
||||
@enduml
|
||||
@@ -0,0 +1,7 @@
|
||||
@startuml
|
||||
class PrefabSettingsWindow {
|
||||
+ {static} ShowWindow() : void
|
||||
}
|
||||
EditorWindow <|-- PrefabSettingsWindow
|
||||
PrefabSettingsWindow --> "CurrentSettings" PrefabCreatorSettings
|
||||
@enduml
|
||||
@@ -0,0 +1,14 @@
|
||||
@startuml
|
||||
class Setup <<static>> {
|
||||
+ {static} CreateDefaultFolders() : void
|
||||
+ {static} ImportAssets() : void
|
||||
}
|
||||
class Folders <<static>> {
|
||||
+ {static} CreateDefault(root:string, folders:string[]) : void
|
||||
}
|
||||
class Assets <<static>> {
|
||||
+ {static} ImportAsset(asset:string, subfolder:string, folder:string) : void
|
||||
}
|
||||
Setup +-- Folders
|
||||
Setup +-- Assets
|
||||
@enduml
|
||||
Reference in New Issue
Block a user