catchy tune fix

This commit is contained in:
Rapandrasmus 2023-10-13 17:27:46 +02:00
parent 30a620a48d
commit c9ebad87d9
2 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,7 @@ namespace HeavenStudio.Games.Loaders
{
new Param.CollapseParam(x => (bool)x, new string[] { "endSmile" })
}),
new Param("endSmile", new EntityTypes.Float(2, 100), "End Smile Beat", "How many beats after the catch should the smile end?")
new Param("endSmile", new EntityTypes.Float(2, 100, 2), "End Smile Beat", "How many beats after the catch should the smile end?")
},
preFunction = delegate {var e = eventCaller.currentEntity; CatchyTune.PreDropFruit(e.beat, e["side"], e["smile"], false, e["endSmile"]); },
},
@ -39,7 +39,7 @@ namespace HeavenStudio.Games.Loaders
{
new Param.CollapseParam(x => (bool)x, new string[] { "endSmile" })
}),
new Param("endSmile", new EntityTypes.Float(2, 100), "End Smile Beat", "How many beats after the catch should the smile end?")
new Param("endSmile", new EntityTypes.Float(2, 100, 2), "End Smile Beat", "How many beats after the catch should the smile end?")
},
preFunction = delegate {var e = eventCaller.currentEntity; CatchyTune.PreDropFruit(e.beat, e["side"], e["smile"], true, e["endSmile"]); },
},

View file

@ -114,7 +114,7 @@ namespace HeavenStudio.Editor
Editor.instance.editingInputField = false;
if (slider.value != _defaultValue)
{
this.caption.text = "*" + _captionText;
this.caption.text = _captionText + "*";
}
else
{