quantum-space-buddies/QSB/Utility/QSBExtensions.cs

18 lines
353 B
C#
Raw Normal View History

2020-08-09 18:33:36 +00:00
namespace QSB.Utility
{
public static class QSBExtensions
{
public static void ChangeEquipState(this PlayerTool tool, bool equipState)
{
if (equipState)
{
tool.EquipTool();
}
else
{
tool.UnequipTool();
}
}
}
}