화면 하단 인터랙션 임시 UI 가독성 수정
- 기본 색상 white => black - 경고 색상 yellow => red - 폰트 사이즈 24 => 36 - 상자 너비, 높이 수정
This commit is contained in:
@@ -273,10 +273,10 @@ namespace Northbound
|
|||||||
|
|
||||||
GUIStyle style = new GUIStyle(GUI.skin.label)
|
GUIStyle style = new GUIStyle(GUI.skin.label)
|
||||||
{
|
{
|
||||||
fontSize = 24,
|
fontSize = 36,
|
||||||
alignment = TextAnchor.MiddleCenter
|
alignment = TextAnchor.MiddleCenter
|
||||||
};
|
};
|
||||||
style.normal.textColor = Color.white;
|
style.normal.textColor = Color.black;
|
||||||
|
|
||||||
string prompt = "";
|
string prompt = "";
|
||||||
|
|
||||||
@@ -293,7 +293,7 @@ namespace Northbound
|
|||||||
if (_isInteracting)
|
if (_isInteracting)
|
||||||
{
|
{
|
||||||
prompt += " (진행 중...)";
|
prompt += " (진행 중...)";
|
||||||
style.normal.textColor = Color.yellow;
|
style.normal.textColor = Color.red;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -307,20 +307,20 @@ namespace Northbound
|
|||||||
_ => "대기 중"
|
_ => "대기 중"
|
||||||
};
|
};
|
||||||
|
|
||||||
GUI.Label(new Rect(Screen.width / 2 - 200, Screen.height - 150, 400, 50),
|
GUI.Label(new Rect(Screen.width / 2 - 200, Screen.height - 150, 800, 100),
|
||||||
$"워커: {workerStatus} (가방: {assignedWorker.CurrentBagResources}/{assignedWorker.maxBagCapacity})",
|
$"워커: {workerStatus} (가방: {assignedWorker.CurrentBagResources}/{assignedWorker.maxBagCapacity})",
|
||||||
style);
|
style);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
GUI.Label(new Rect(Screen.width / 2 - 200, Screen.height - 150, 400, 50),
|
GUI.Label(new Rect(Screen.width / 2 - 200, Screen.height - 150, 800, 100),
|
||||||
$"워커: 미할당",
|
$"워커: 미할당",
|
||||||
style);
|
style);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_currentInteractable != null)
|
if (_currentInteractable != null)
|
||||||
{
|
{
|
||||||
GUI.Label(new Rect(Screen.width / 2 - 200, Screen.height - 100, 400, 50), prompt, style);
|
GUI.Label(new Rect(Screen.width / 2 - 200, Screen.height - 100, 800, 100), prompt, style);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user