This commit is contained in:
SoulliesOfficial
2025-12-17 04:19:38 -05:00
parent 7c1cb7e8e1
commit d15957c719
4315 changed files with 8260710 additions and 2940 deletions

View File

@@ -0,0 +1,15 @@
using UnityEngine;
namespace GraphicsCat
{
public static class MaterialExtensions
{
public static void SetKeyword(this Material mat, string keyword, bool val)
{
if (val == true)
mat.EnableKeyword(keyword);
else
mat.DisableKeyword(keyword);
}
}
}