24.03.04 TIL - Unity : Mathf.Clamp, 숫자를 특정 범위 안으로 제한

JJwoo·2024년 3월 3일
float health = Mathf.Clamp(playerHealth, 0, 100);
profile
개발 모코코

0개의 댓글