This repository has been archived on 2026-01-20. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Frontec/Assets/Scripts/SJM/CircleSliderTemp.cs
jmaniuvc 2936c48466 Frontec
2025-02-24 12:12:52 +09:00

23 lines
409 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class CircleSliderTemp : MonoBehaviour
{
public bool b = true;
public Image image;
private bool up = true;
private float amount;
public double value;
private void Update()
{
amount = (float)((float)value + 50) / 150;
image.fillAmount = amount;
}
}