feat(DevRoom): add HUD prefab and DevRoomHUD script for controls display

This commit is contained in:
Thibault Pouch
2026-03-06 18:37:56 +01:00
parent 959a4988bc
commit 322f8d1986
5 changed files with 160 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &4178108422795220641
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3591790312497930163}
- component: {fileID: 3550386926518610254}
m_Layer: 0
m_Name: HUD
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &3591790312497930163
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4178108422795220641}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 2.44109, y: 0.05, z: 2.28609}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &3550386926518610254
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4178108422795220641}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: c34284eb72c0cc841b21e6425e27606a, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::DevRoomHUD
paddingX: 16
paddingY: 16
lineHeight: 22
fontSize: 14
backgroundColor: {r: 0, g: 0, b: 0, a: 0.55}
keyColor: {r: 1, g: 0.85, b: 0.2, a: 1}
labelColor: {r: 1, g: 1, b: 1, a: 1}