feat: add Unity 6 client with 2.5D visual system

Unity client features:
- WebSocket connection via NativeWebSocket
- 2.5D agent visuals with programmatic placeholder sprites
- Billboard system for sprites and UI elements
- Floating UI panels (name, HP, energy bars)
- Speech bubble system with pop-in animation
- RTS-style camera controller (WASD + scroll zoom)
- Editor tools for prefab creation and scene setup

Scripts:
- NetworkManager: WebSocket singleton
- GameManager: Agent spawning and event handling
- AgentVisual: 2.5D sprite and UI creation
- Billboard: Camera-facing behavior
- SpeechBubble: Animated dialogue display
- CameraController: RTS camera with UI input detection
- UIManager: HUD and command input

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
empty
2026-01-01 12:15:53 +08:00
parent e96948e8a4
commit 64ed46215f
889 changed files with 155753 additions and 0 deletions

View File

@@ -0,0 +1,60 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d7fd9488000d3734a9e00ee676215985, type: 3}
m_Name: Sky and Fog Volume Profile
m_EditorClassIdentifier:
components:
- {fileID: 6704987263078244684}
--- !u!114 &6704987263078244684
MonoBehaviour:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0d7593b3a9277ac4696b20006c21dde2, type: 3}
m_Name: VisualEnvironment
m_EditorClassIdentifier:
active: 1
skyType:
m_OverrideState: 1
m_Value: 4
cloudType:
m_OverrideState: 1
m_Value: 0
skyAmbientMode:
m_OverrideState: 0
m_Value: 1
planetRadius:
m_OverrideState: 1
m_Value: 6378.1
renderingSpace:
m_OverrideState: 1
m_Value: 1
centerMode:
m_OverrideState: 1
m_Value: 0
planetCenter:
m_OverrideState: 0
m_Value: {x: 0, y: -6378.1, z: 0}
windOrientation:
m_OverrideState: 0
m_Value: 0
windSpeed:
m_OverrideState: 0
m_Value: 0
fogType:
m_OverrideState: 0
m_Value: 0
m_Version: 1

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 83ba2e375bed45f48bce43e5a5f7c88a
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant: