lucid-super-dream/Assets/Scripts/Score.cs

17 lines
301 B
C#
Raw Normal View History

using System;
public static class Score
{
private static ulong _value;
public static ulong Value
{
get => _value;
set
{
_value = value;
ScoreUpdated?.Invoke(_value);
}
}
public static event Action<ulong> ScoreUpdated;
}