16 lines
266 B
C#
16 lines
266 B
C#
using System;
|
|
|
|
public static class InteractionManager
|
|
{
|
|
public static Action CurrentInteraction;
|
|
|
|
public static void Interact()
|
|
{
|
|
CurrentInteraction?.Invoke();
|
|
}
|
|
|
|
public static void Clear()
|
|
{
|
|
CurrentInteraction = null;
|
|
}
|
|
} |