mirror of
https://github.com/DCFApixels/Unity-DebugX.git
synced 2025-09-18 01:44:34 +08:00
14 lines
255 B
C#
14 lines
255 B
C#
using UnityEngine;
|
|
|
|
namespace DCFApixels.DebugXCore.Internal
|
|
{
|
|
internal static class ColorExtensions
|
|
{
|
|
public static Color SetAlpha(this Color self, float v)
|
|
{
|
|
self.a *= v;
|
|
return self;
|
|
}
|
|
}
|
|
}
|