Files

16 lines
334 B
C#
Raw Permalink Normal View History

2025-05-13 05:05:49 +03:00
using UnityEngine;
using System.Collections;
public class Rotation : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
transform.rotation = Quaternion.AngleAxis (Time.timeSinceLevelLoad * 10.0f, Vector3.up);
}
}