Files
JuegoSim/-o/InteractionLayer/Managers/GhostExtensions/GhostStrategyTester.puml
T
2026-07-21 08:56:10 +03:00

42 lines
1.2 KiB
Plaintext

@startuml
class GhostStrategyTester {
+ TestTarget : GameObject
+ ClampMin : float
+ ClampMax : float = 5f
+ RotateSensitivity : float = 0.4f
- _mode : Mode
- _moveStrat : AxisMoveStrategy
- _rotStrat : AxisRotateStrategy
- _isEditing : bool
- _buttonHeld : bool
- _activeAxisIndex : int
- _lastMouseX : float
- _editingOrigin : Vector3
- {static} <<readonly>> AxisColors : Color[]
- {static} <<readonly>> AxisLabels : string[]
- {static} <<readonly>> LocalMoveAxes : Vector3[]
- {static} <<readonly>> RotateAxes : AxisRotateStrategy.LocalAxis[]
- <<const>> BtnW : float = 96f
- <<const>> BtnH : float = 36f
- <<const>> PadX : float = 12f
- <<const>> PadY : float = 8f
- Start() : void
- OnGUI() : void
- DrawAxisButton(i:int, rect:Rect) : void
- OnAxisButtonDown(axisIndex:int) : void
- OnAxisButtonUp() : void
- EnsureEditing() : void
- CommitEdit() : void
- StopEditing() : void
- ResetState() : void
- DrawModeButton(label:string, target:Mode, rect:Rect) : void
}
enum Mode {
None,
AxisMove,
AxisRotate,
}
MonoBehaviour <|-- GhostStrategyTester
GhostStrategyTester +-- Mode
@enduml