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