loudixvmuniu/Assets/_Scripts/Application/UI/LoadingSceenPanel.cs
2025-01-02 12:15:45 +08:00

25 lines
682 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/*******************************************************************************
*Create By CG
*Function
*******************************************************************************/
namespace CG.Framework
{
public class LoadingSceenPanel : UIBase
{
private Transform _img = null;
private float _rotSpeed = 90.0f;
protected override void Awake()
{
base.Awake();
_img = transform.Find("Image/Image");
}
private void FixedUpdate()
{
_img.Rotate(Vector3.back * Time.deltaTime * _rotSpeed);
}
}
}