Added UI to Furnance, fixed carry and drag obj and added fish

This commit is contained in:
2026-08-12 12:04:54 +03:00
parent 73069d8242
commit 487e0d72ff
73 changed files with 13209 additions and 15923 deletions
@@ -16,6 +16,7 @@ public sealed class FirstPersonCameraController : NetworkBehaviour, IPlayerSyste
private float pitch;
private bool isInitialized;
public Camera PlayerCamera => playerCamera;
public Transform AimTransform => playerCamera != null ? playerCamera.transform : transform;
public Vector3 AimForward => AimTransform.forward;
@@ -38,6 +39,8 @@ public sealed class FirstPersonCameraController : NetworkBehaviour, IPlayerSyste
if (!isLocalPlayer)
return;
LocalPlayerCameraRegistry.Register(playerCamera);
if (playerRenderer != null)
playerRenderer.enabled = false;
@@ -98,6 +101,7 @@ public sealed class FirstPersonCameraController : NetworkBehaviour, IPlayerSyste
if (IsOwner)
{
LocalPlayerCameraRegistry.Unregister(playerCamera);
Cursor.lockState = CursorLockMode.None;
Cursor.visible = true;
}