12 lines
277 B
C#
12 lines
277 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();
|
|
} |