25 lines
682 B
C#
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);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|