유니티 C# 카메라 흔들기 Camera Shake 간단 사용법


유니티 C# 카메라 흔들기 Camera Shake 간단 사용법

코드 작성 using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Example : MonoBehaviour { public float shakeAmount = 3.0f; public float shakeTime = 1.0f; private void Start() { StartCoroutine(Shake(shakeAmount, shakeTime)); } IEnumerator Shake(float ShakeAmount, float ShakeTime) { float timer = 0; while (timer


원문링크 : 유니티 C# 카메라 흔들기 Camera Shake 간단 사용법