Есть классы, есть двери, есть механика вселения, свага есть
This commit is contained in:
1 parent
2ae795c30a
commit
0f9a539460
69 files changed
+3960
-299
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user