mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-14 05:35:08 +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);
|
|
}
|
|
}
|