2026-05-06 15:07:56 +02:00

19 lines
365 B
C#

using UnityEngine;
using UnityEngine.UI;
namespace DuloGames.UI
{
public class UIGlobeFillInverter : MonoBehaviour
{
[SerializeField] private Image m_Image;
public void OnChange(float value)
{
if (this.m_Image != null)
{
this.m_Image.fillAmount = 1f - value;
}
}
}
}