13 lines
278 B
C#
13 lines
278 B
C#
using System;
|
|
|
|
public class PlayerEvents
|
|
{
|
|
public static event Action OnBallTouched;
|
|
|
|
public static event Action OnWallTouched;
|
|
|
|
public static void SendBallTouched() => OnBallTouched?.Invoke();
|
|
|
|
public static void SendWallTouched() => OnWallTouched?.Invoke();
|
|
}
|