+物品展示

todo 玩家背包
This commit is contained in:
2024-09-28 18:06:49 +08:00
parent d4a9b7e0a3
commit 6d3f85829b
24 changed files with 2452 additions and 69 deletions

View File

@@ -14,12 +14,16 @@ namespace Camera
_camera = GetComponent<UnityEngine.Camera>();
_processVolume = GetComponent<PostProcessVolume>();
}
private void Start()
private void OnEnable()
{
EventManager.Instance.PlayerRunning += PostProcess;
EventManager.Instance.PlayerRunStop += ProcessingStop;
}
private void OnDisable()
{
EventManager.Instance.PlayerRunning -= PostProcess;
EventManager.Instance.PlayerRunStop -= ProcessingStop;
}
private void PostProcess()
{