mergemilitary/Assets/Scripts/UIs/PanelLoading.cs

14 lines
321 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PanelLoading : BasePanel
{
[SerializeField] float mRotateSpeed;
[SerializeField] Transform mTsfLoading;
private void Update()
{
mTsfLoading.Rotate(0, 0, mRotateSpeed * Time.unscaledDeltaTime);
}
}