Unity-DebugX/Runtime/Internal/ColorExtensions.cs

14 lines
255 B
C#
Raw Normal View History

2025-02-22 17:25:54 +08:00
using UnityEngine;
namespace DCFApixels.DebugXCore.Internal
{
internal static class ColorExtensions
{
public static Color SetAlpha(this Color self, float v)
{
self.a *= v;
return self;
}
}
}