mirror of
https://github.com/RaindropViewer/RaindropViewer.git
synced 2026-07-28 06:34:49 +00:00
17 lines
345 B
C#
17 lines
345 B
C#
using UnityEngine;
|
|
|
|
public class LoadingCircle : MonoBehaviour
|
|
{
|
|
private RectTransform rectComponent;
|
|
private float rotateSpeed = 200f;
|
|
|
|
private void Start()
|
|
{
|
|
rectComponent = GetComponent<RectTransform>();
|
|
}
|
|
|
|
private void Update()
|
|
{
|
|
rectComponent.Rotate(0f, 0f, rotateSpeed * Time.deltaTime);
|
|
}
|
|
} |