@@ -52,6 +52,7 @@ namespace Ichni.RhythmGame
|
||||
public bool isSwitchingReturnType;
|
||||
public FlexibleReturnType lastReturnType;
|
||||
public FlexibleReturnType returnType;
|
||||
public event Action OnDataChanged;
|
||||
|
||||
public FlexibleFloat(bool withFirstAnimation = false)
|
||||
{
|
||||
@@ -71,11 +72,14 @@ namespace Ichni.RhythmGame
|
||||
public void Add(AnimatedFloat animatedFloat)
|
||||
{
|
||||
animations.Add(animatedFloat);
|
||||
OnDataChanged?.Invoke();
|
||||
}
|
||||
|
||||
public void Sort()
|
||||
{
|
||||
animations.Sort();
|
||||
OnDataChanged?.Invoke();
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user