DeltaVR/Assets/Scripts/Events.cs
2021-03-15 02:08:53 +02:00

12 lines
320 B
C#

using System;
public static class Events
{
public static event Action OnBreakoutEndGame;
public static void BreakoutEndGame() => OnBreakoutEndGame?.Invoke();
public static event Action<float> OnBreakoutSetSpeed;
public static void BreakoutSetSpeed(float speed) => OnBreakoutSetSpeed?.Invoke(speed);
}