17 lines
320 B
C#
17 lines
320 B
C#
|
using MfGames.Gallium;
|
||
|
|
||
|
namespace MfGames.Nitride.Json;
|
||
|
|
||
|
public static class IsJsonExtensions
|
||
|
{
|
||
|
public static Entity RemoveIsJson(this Entity entity)
|
||
|
{
|
||
|
return entity.Remove<IsJson>();
|
||
|
}
|
||
|
|
||
|
public static Entity SetIsJson(this Entity entity)
|
||
|
{
|
||
|
return entity.Set(IsJson.Instance);
|
||
|
}
|
||
|
}
|