Signed-off-by: TRAfoer <lhf190@outlook.com>
This commit is contained in:
@@ -53,8 +53,8 @@ public class EventPoint : MonoBehaviour
|
||||
public float value => FatherTab.scalevalue;
|
||||
public void Refresh()
|
||||
{
|
||||
ReDraw(value);
|
||||
UpdateValue();
|
||||
ReDraw(value);
|
||||
}
|
||||
public void ReDraw(float value)
|
||||
{
|
||||
@@ -196,6 +196,7 @@ public class EventPoint : MonoBehaviour
|
||||
FatherTab.FatherWindow.ConnectedPoint = this;
|
||||
EvDrawimage.color = new Color(EvDrawimage.color.r, 0.75f, EvDrawimage.color.b, 1f);
|
||||
|
||||
FatherTab.FatherWindow.animationCurveTypeDropdown.onValueChanged.RemoveAllListeners();
|
||||
// 更新下拉选项
|
||||
FatherTab.FatherWindow.animationCurveTypeDropdown.ClearOptions();
|
||||
List<string> enumNameList = System.Enum.GetNames(typeof(AnimationCurveType)).ToList();
|
||||
|
||||
@@ -120,8 +120,8 @@ namespace Ichni.StartMenu
|
||||
{
|
||||
songLocationInputField.onEndEdit.AddListener((str) =>
|
||||
{
|
||||
string forward = Application.streamingAssetsPath + "/Songs/";
|
||||
songName = str.Replace(forward, "");
|
||||
string fullPath = Path.GetFullPath(str);
|
||||
songName = Path.GetFileName(fullPath);
|
||||
});
|
||||
|
||||
selectSongButton.onClick.AddListener(SelectSong);
|
||||
|
||||
Reference in New Issue
Block a user