Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 015b2be

Browse files
committed
crone: 빌드 설정
1 parent b5bf147 commit 015b2be

File tree

14 files changed

+364
-129
lines changed

14 files changed

+364
-129
lines changed

‎Assets/App/Scenes/MainScene.unity‎

Lines changed: 275 additions & 17 deletions
Large diffs are not rendered by default.

‎Assets/Core/DebugConsole/GameDebugConsoleManager.cs‎

Lines changed: 56 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ void Start()
5656
{
5757
Application.logMessageReceived += OnLogMessageReceived;
5858
SetupUI();
59+
ValidateButtonSetup();
5960
}
6061

6162
void OnDestroy()
@@ -102,8 +103,8 @@ private void InitializeConsole()
102103
return;
103104
}
104105

105-
_consolePanel.SetActive(false);
106-
_isConsoleVisible = false;
106+
_consolePanel.SetActive(true);
107+
_isConsoleVisible = true;
107108

108109
SetupLayoutGroup();
109110

@@ -115,19 +116,36 @@ private void InitializeConsole()
115116

116117
private void SetupUI()
117118
{
119+
Debug.Log("[DEBUG_CONSOLE] SetupUI called");
120+
118121
if (_clearButton != null)
119122
{
120123
_clearButton.onClick.AddListener(ClearLogs);
124+
Debug.Log("[DEBUG_CONSOLE] Clear button listener added");
125+
}
126+
else
127+
{
128+
Debug.LogWarning("[DEBUG_CONSOLE] _clearButton is null!");
121129
}
122130

123131
if (_toggleButton != null)
124132
{
125133
_toggleButton.onClick.AddListener(ToggleConsole);
134+
Debug.Log("[DEBUG_CONSOLE] Toggle button listener added");
135+
}
136+
else
137+
{
138+
Debug.LogWarning("[DEBUG_CONSOLE] _toggleButton is null!");
126139
}
127140

128141
if (_filterInput != null)
129142
{
130143
_filterInput.onValueChanged.AddListener(OnFilterChanged);
144+
Debug.Log("[DEBUG_CONSOLE] Filter input listener added");
145+
}
146+
else
147+
{
148+
Debug.LogWarning("[DEBUG_CONSOLE] _filterInput is null!");
131149
}
132150
}
133151

@@ -341,11 +359,18 @@ private System.Collections.IEnumerator ScrollToBottomCoroutine()
341359

342360
public void ToggleConsole()
343361
{
362+
Debug.Log($"[DEBUG_CONSOLE] ToggleConsole called. Current state: {_isConsoleVisible}");
363+
344364
_isConsoleVisible = !_isConsoleVisible;
345365

346366
if (_consolePanel != null)
347367
{
348368
_consolePanel.SetActive(_isConsoleVisible);
369+
Debug.Log($"[DEBUG_CONSOLE] Console panel set to: {_isConsoleVisible}");
370+
}
371+
else
372+
{
373+
Debug.LogWarning("[DEBUG_CONSOLE] _consolePanel is null!");
349374
}
350375

351376
if (_isConsoleVisible)
@@ -517,5 +542,34 @@ public void SetupLayoutGroup()
517542
contentSizeFitter.verticalFit = ContentSizeFitter.FitMode.PreferredSize;
518543
contentSizeFitter.horizontalFit = ContentSizeFitter.FitMode.PreferredSize;
519544
}
545+
546+
public void ValidateButtonSetup()
547+
{
548+
Debug.Log("[DEBUG_CONSOLE] === Button Setup Validation ===");
549+
550+
if (_toggleButton == null)
551+
{
552+
Debug.LogError("[DEBUG_CONSOLE] _toggleButton is null! Please assign it in the inspector.");
553+
return;
554+
}
555+
556+
Debug.Log($"[DEBUG_CONSOLE] Toggle button found: {_toggleButton.name}");
557+
Debug.Log($"[DEBUG_CONSOLE] Toggle button active: {_toggleButton.gameObject.activeInHierarchy}");
558+
Debug.Log($"[DEBUG_CONSOLE] Toggle button interactable: {_toggleButton.interactable}");
559+
Debug.Log($"[DEBUG_CONSOLE] Toggle button onClick event count: {_toggleButton.onClick.GetPersistentEventCount()}");
560+
561+
if (_consolePanel == null)
562+
{
563+
Debug.LogError("[DEBUG_CONSOLE] _consolePanel is null! Please assign it in the inspector.");
564+
}
565+
else
566+
{
567+
Debug.Log($"[DEBUG_CONSOLE] Console panel found: {_consolePanel.name}");
568+
Debug.Log($"[DEBUG_CONSOLE] Console panel active: {_consolePanel.activeInHierarchy}");
569+
}
570+
571+
Debug.Log($"[DEBUG_CONSOLE] Console visible state: {_isConsoleVisible}");
572+
Debug.Log("[DEBUG_CONSOLE] === End Validation ===");
573+
}
520574
}
521575
}

‎Assets/Domain/Character/Model/Chikuwa/Character-Zero.asset‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ MonoBehaviour:
1414
m_EditorClassIdentifier:
1515
characterId: zero
1616
characterName: "\uC81C\uB85C"
17-
characterPrefab: {fileID: 8051974178353762967, guid: 9be43d9f8e24d634186c522ebce74618, type: 3}
18-
thumbnail: {fileID: 2800000, guid: e029dae0a0b46124ba7b0b6b2ac00a76, type: 3}
17+
characterPrefab: {fileID: 7609475132481125670, guid: 9e7b6e32e30a8e144aac535afecd9340, type: 3}
18+
thumbnail: {fileID: 2800000, guid: a443448c8422da640825449c667a9378, type: 3}
1919
characterDescription: "\uCE58\uC640\uC9F1 \uBAA8\uB378 \uAE30\uBC18"
2020
emotionMappings:
2121
- emotionKey:
@@ -26,9 +26,9 @@ MonoBehaviour:
2626
- actionKey:
2727
motionGroup:
2828
motionName:
29-
isLockAtActive: 0
29+
isLookAtActive: 1
3030
lookSensitivity: 1
31-
lockAtDamping: 0
31+
lookAtDamping: 0
3232
useLipSync: 1
3333
gain: 10
3434
smoothing: 1

‎Assets/Domain/Character/Model/Model.fadeMotionList.asset‎

Lines changed: 0 additions & 17 deletions
This file was deleted.

‎Assets/Domain/Character/Model/Model.fadeMotionList.asset.meta‎

Lines changed: 0 additions & 8 deletions
This file was deleted.

‎Assets/Domain/Character/Model/Sample/natoriConfig.asset‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ MonoBehaviour:
2020
isLockAtActive: 1
2121
gain: 10
2222
smoothing: 1
23-
modelPrefab: {fileID: 6181935751025943507, guid: 43e77a085e1072e4dbc6393f20643f3b, type: 3}
23+
modelPrefab: {fileID: 7609475132481125670, guid: 9e7b6e32e30a8e144aac535afecd9340, type: 3}

‎Assets/Domain/Character/Script/CharacterManager.cs‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,6 @@ public void Initialize()
5353
// 임시로 zero 캐릭터 로드
5454
LoadCharacter("zero");
5555

56-
if (_modelTransform != null) {
57-
var scaler = _modelTransform.GetComponent<Live2DModelScaler>();
58-
if (scaler == null) {
59-
scaler = _modelTransform.gameObject.AddComponent<Live2DModelScaler>();
60-
Debug.Log($"[CharacterManager] Live2DModelScaler가 자동으로 추가되었습니다: {_modelTransform.name}");
61-
}
62-
}
6356
}
6457
public void Shutdown()
6558
{

‎Assets/Domain/Character/Script/Component/CameraResolutionScaler.cs‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ public class CameraResolutionScaler : MonoBehaviour
2626

2727
private void Start()
2828
{
29-
Initialize();
29+
// Initialize();
3030
}
3131

3232
private void Update()
3333
{
34-
if (applyOnResolutionChange && HasResolutionChanged())
35-
{
36-
ApplyCameraScale();
37-
}
34+
// if (applyOnResolutionChange && HasResolutionChanged())
35+
// {
36+
// ApplyCameraScale();
37+
// }
3838
}
3939

4040
#endregion

‎Assets/Domain/Character/Script/Component/ResolutionManager.cs‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ public class ResolutionManager : MonoBehaviour
2626

2727
private void Start()
2828
{
29-
Initialize();
29+
// Initialize();
3030
}
3131

3232
private void Update()
3333
{
34-
if (applyOnResolutionChange && HasResolutionChanged())
35-
{
36-
ApplyScaleToAllModels();
37-
}
34+
// if (applyOnResolutionChange && HasResolutionChanged())
35+
// {
36+
// ApplyScaleToAllModels();
37+
// }
3838
}
3939

4040
#endregion
File renamed without changes.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /