2e4370481b
1. 총알피하기 게임 제작 2. 시간별로 단계 설정 3. 시작화면 및 이펙트, 사운드 삽입
13 lines
179 B
C#
13 lines
179 B
C#
using UnityEngine;
|
|
|
|
public class Rotator : MonoBehaviour
|
|
{
|
|
public float speed = 60f;
|
|
|
|
|
|
void Update()
|
|
{
|
|
transform.Rotate(0f, speed*Time.deltaTime, 0f);
|
|
}
|
|
}
|