Genesis Game Client Project Setup

This commit is contained in:
2026-03-13 12:43:28 +09:00
commit af885151b3
832 changed files with 630533 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
using UnityEngine;
public enum CameraMode { FreeLook, Aim }

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 352c627185dd0f644a938ceeb3f50257

View File

@@ -0,0 +1,25 @@
using UnityEngine;
using Unity.Cinemachine;
public class PlayerCameraRig : MonoBehaviour
{
[SerializeField] private CinemachineCamera _previewCam;
[SerializeField] private CinemachineCamera _aimCam;
private CinemachineCamera _currentCam;
private void Awake()
{
_currentCam = _previewCam;
}
public float CurrentFOV
{
get { return _currentCam.Lens.FieldOfView; }
set
{
if(_currentCam == _previewCam)
_currentCam.Lens.FieldOfView = value;
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 0c8edc71b2d7ec249bbdb4b23726bee0