mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-23 10:05:14 +00:00
11 lines
195 B
C#
11 lines
195 B
C#
using UnityEngine;
|
|
|
|
public class Rotate : MonoBehaviour
|
|
{
|
|
public float rotateSpeed;
|
|
|
|
void Update()
|
|
{
|
|
transform.Rotate(Vector3.forward * rotateSpeed * Time.deltaTime);
|
|
}
|
|
}
|