9092858a58
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
16 lines
444 B
C#
16 lines
444 B
C#
namespace Unity.VisualScripting
|
|
{
|
|
public static class XUnitOptionProvider
|
|
{
|
|
public static IUnitOption Option(this IUnit unit)
|
|
{
|
|
return FuzzyOptionProvider.instance.GetDecorator<IUnitOption>(unit);
|
|
}
|
|
|
|
public static IUnitOption Option<TOption>(this IUnit unit) where TOption : IUnitOption
|
|
{
|
|
return FuzzyOptionProvider.instance.GetDecorator<TOption>(unit);
|
|
}
|
|
}
|
|
}
|