mergemilitary/Assets/Scripts/UIs/PanelLoading.cs

14 lines
321 B
C#
Raw Normal View History

2022-05-23 13:39:59 +00:00
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);
}
}