Есть классы, есть двери, есть механика вселения, свага есть

This commit is contained in:
vladislove committed 2026-10-21 21:21:16 +03:00
1 parent 2ae795c30a
commit 0f9a539460
69 files changed
+3960 -299

No files matched your search

+5 -2
View File
@@ -12,7 +12,8 @@ namespace _Project.Scripts
public PlayerCamera CameraController { get; private set; }
public PlayerCombat Combat { get; private set; }
public PlayerSound Sound { get; private set; }
public PlayerUI UI { get; private set; }
public PlayerUI UI { get; private set; }
public PlayerPossession Possession { get; private set; }
protected override void Awake()
{
@@ -24,7 +25,9 @@ namespace _Project.Scripts
CameraController = GetComponent<PlayerCamera>();
Combat = GetComponent<PlayerCombat>();
Sound = GetComponent<PlayerSound>();
UI = GetComponent<PlayerUI>();
UI = GetComponent<PlayerUI>();
Possession = GetComponent<PlayerPossession>();
if (Possession == null) Possession = gameObject.AddComponent<PlayerPossession>();
Cursor.lockState = CursorLockMode.Locked;
Cursor.visible = false;