private void OnClick() { StopCurrentBar(); BarPlaced?.Invoke(); BarPlacedWithTime?.Invoke(Time.unscaledTime - timeStampOfBarActivated); ActivateNextBar(); barPool.RecycleBars(); }
public static void InvokeBarPlacedEvent() { BarPlaced?.Invoke(); }