[Game] Dodge
1. 총알피하기 게임 제작 2. 시간별로 단계 설정 3. 시작화면 및 이펙트, 사운드 삽입
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class Rotator : MonoBehaviour
|
||||
{
|
||||
public float speed = 60f;
|
||||
|
||||
|
||||
void Update()
|
||||
{
|
||||
transform.Rotate(0f, speed*Time.deltaTime, 0f);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user