@@ -64,7 +64,7 @@ public class SampleWindow : MovableWindow//该window高度为300,横的要XWid
|
||||
trackPositioner.enabled = isFocus;
|
||||
trackPositioner.targetObject = trackHead;
|
||||
}
|
||||
InitializeWindow(title);
|
||||
InitializeWindow(title, null, new Vector3(1.2f, 1.2f, 1.2f));
|
||||
|
||||
|
||||
//
|
||||
@@ -135,7 +135,10 @@ public class SampleWindow : MovableWindow//该window高度为300,横的要XWid
|
||||
LineMovepoint.localPosition = new(0, -beatDeviver * (songBeat - (int)songBeat), 0);
|
||||
NoteMovepoint.localPosition = new(0, -beatDeviver * songBeat, 0);
|
||||
|
||||
if (RectTransformUtility.RectangleContainsScreenPoint(windowRect, Mouse.current.position.ReadValue()))
|
||||
if (RectTransformUtility.RectangleContainsScreenPoint(windowRect, Mouse.current.position.ReadValue()) &&
|
||||
selectedGameObject != DeviverInputField.gameObject &&
|
||||
selectedGameObject != verticalInputField.gameObject &&
|
||||
selectedGameObject != horizontalInputField.gameObject)
|
||||
{
|
||||
DetectNote();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user