fix: adding some entity methods for YAML

This commit is contained in:
Dylan R. E. Moonfire 2022-07-18 17:49:21 -05:00
parent 8ce9a12847
commit 28c4ab850e

View file

@ -0,0 +1,16 @@
using Gallium;
namespace Nitride.Yaml;
public static class IsYamlExtensions
{
public static Entity RemoveIsYaml(this Entity entity)
{
return entity.Remove<IsYaml>();
}
public static Entity SetIsYaml(this Entity entity)
{
return entity.Set(IsYaml.Instance);
}
}