JudgeTrigger
外部区域判定区
This commit is contained in:
@@ -189,7 +189,13 @@ namespace Ichni
|
||||
{
|
||||
LogWindow.Log("Start Saving Clip...");
|
||||
|
||||
GameElement selectedElement = EditorManager.instance.operationManager.currentSelectedElement;
|
||||
if (EditorManager.instance.operationManager.currentSelectedElements.Count != 1) // TODO: 后续适应多选
|
||||
{
|
||||
LogWindow.Log("Please select only one Game Element to save the beatmap clip.", Color.red);
|
||||
return;
|
||||
}
|
||||
|
||||
GameElement selectedElement = EditorManager.instance.operationManager.currentSelectedElements[0];
|
||||
|
||||
if (selectedElement is null)
|
||||
{
|
||||
@@ -211,8 +217,14 @@ namespace Ichni
|
||||
LogWindow.Log("Clip not found", Color.red);
|
||||
return;
|
||||
}
|
||||
|
||||
if (EditorManager.instance.operationManager.currentSelectedElements.Count != 1) // TODO: 后续适应多选
|
||||
{
|
||||
LogWindow.Log("Please select only one Game Element to load the beatmap clip.", Color.red);
|
||||
return;
|
||||
}
|
||||
|
||||
GameElement selectedElement = EditorManager.instance.operationManager.currentSelectedElement;
|
||||
GameElement selectedElement = EditorManager.instance.operationManager.currentSelectedElements[0];
|
||||
|
||||
if (selectedElement is null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user