10 lines
270 B
C#
10 lines
270 B
C#
|
|
using UnityEngine;
|
|||
|
|
|
|||
|
|
// 게임 오브젝트를 지속적으로 회전하는 스크립트
|
|||
|
|
public class Rotator : MonoBehaviour {
|
|||
|
|
public float rotationSpeed = 60f;
|
|||
|
|
|
|||
|
|
private void Update() {
|
|||
|
|
transform.Rotate(0f, rotationSpeed * Time.deltaTime, 0f);
|
|||
|
|
}
|
|||
|
|
}
|