Files
jongjae0305 2e4370481b [Game] Dodge
1. 총알피하기 게임 제작
2. 시간별로 단계 설정
3. 시작화면 및 이펙트, 사운드 삽입
2026-04-14 17:06:58 +09:00

13 lines
179 B
C#

using UnityEngine;
public class Rotator : MonoBehaviour
{
public float speed = 60f;
void Update()
{
transform.Rotate(0f, speed*Time.deltaTime, 0f);
}
}