void OnBGMouseClick() { if (recording) { _events.Add(new AutoMouseEvent(BackgroundKeyboardInput.GetCursorPosition(), AutoMouseEvent.ClickEventType.leftClick, timer)); timer = 0; } }
void Awake() { _instance = this; }