[유니티 스크립트 소스] 휴대용 카메라
2020. 2. 21.
휴대용 카메라 소스입니다. using UnityEngine; public class HandHeldCamera : MonoBehaviour { public Transform m_Target; private Rigidbody targetRigidbody; public float m_SwaySpeed = .5f; public float m_BaseSwayAmount = .5f; public float m_TrackingSwayAmount = .5f; [Range(-1, 1)] public float m_TrackingBias = 0; [SerializeField] public Vector2 m_RotationRange = new Vector2(90, 360); [SerializeField] public fl..