12 lines
177 B
C#
12 lines
177 B
C#
|
using UnityEngine;
|
|||
|
|
|||
|
public class UIRotate : MonoBehaviour
|
|||
|
{
|
|||
|
public Vector3 speed;
|
|||
|
|
|||
|
void Update()
|
|||
|
{
|
|||
|
this.transform.Rotate(speed * Time.deltaTime);
|
|||
|
}
|
|||
|
}
|