2026-03-26 인벤토리

This commit is contained in:
2026-03-26 18:05:30 +09:00
parent faf692673d
commit 54402ae1eb
71 changed files with 3668 additions and 350 deletions

View File

@@ -14,6 +14,12 @@ public class GameManager : MonoBehaviour
//UI
public IntroUIManager IntroUI { get; private set; }
public InGameUIManager InGameUI { get; private set; }
public InventoryManager Inventory { get; private set; }
[Header("Item Dynamic Settings")]
public float ItemRotationSpeed = 50f; // 회전 속도
public float ItemBounceAmplitude = 0.1f; // 오르내리는 높이
public float ItemBounceFrequency = 2f; // 오르내리는 속도
private void Awake()
{
@@ -37,6 +43,7 @@ private void OnSceneLoaded(Scene scene, LoadSceneMode mode)
this.Camera = FindFirstObjectByType<CameraManager>();
this.IntroUI = FindFirstObjectByType<IntroUIManager>();
this.InGameUI = FindFirstObjectByType<InGameUIManager>();
this.Inventory = FindFirstObjectByType<InventoryManager>();
if (this.Level != null) this.Level.OnSceneLoaded(scene, mode);
if (this.Camera != null) this.Camera.OnSceneLoaded(scene, mode);