restructure

This commit is contained in:
tom.hempel
2025-09-30 18:03:19 +02:00
parent 69b0c79692
commit 78e5dcd53e
4821 changed files with 762 additions and 417 deletions

View File

@ -0,0 +1,14 @@
using UnityEngine;
using UnityEngine.UI;
namespace Convai.Scripts.Runtime.Extensions
{
public static class ImageExtensions
{
public static Image WithColorValue(this Image image, float? r = null, float? g = null, float? b = null, float? a = null)
{
image.color = new Color(r ?? image.color.r, g ?? image.color.g, b ?? image.color.b, a ?? image.color.a);
return image;
}
}
}