First project upload
This commit is contained in:
16
Assets/New Lowpoly Models/Scripts/InteractionManager.cs
Normal file
16
Assets/New Lowpoly Models/Scripts/InteractionManager.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
|
||||
public static class InteractionManager
|
||||
{
|
||||
public static Action CurrentInteraction;
|
||||
|
||||
public static void Interact()
|
||||
{
|
||||
CurrentInteraction?.Invoke();
|
||||
}
|
||||
|
||||
public static void Clear()
|
||||
{
|
||||
CurrentInteraction = null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user