| 12345678910111213141516171819202122232425 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class WebLoading : MonoBehaviour, ILoading
- {
- public float speed;
- public void SetActive(bool active)
- {
- gameObject.SetActive(active);
- }
- public void UpdateProgress(float progress)
- {
- }
- private void LateUpdate()
- {
- var angle = transform.localEulerAngles;
- angle.z += Time.deltaTime * speed;
- transform.localEulerAngles = angle;
- }
- }
|