fix: rename UIParticleProjectSettings.enableLinearToGamma to autoColorCorrection

This commit is contained in:
mob-sakai
2026-06-24 12:16:46 +09:00
parent 5aff2b480a
commit d93cacc70d
3 changed files with 24 additions and 7 deletions

View File

@@ -444,7 +444,7 @@ namespace Coffee.UIExtensions
_lastBounds = bounds;
// Convert linear color to gamma color.
if (UIParticleProjectSettings.enableLinearToGamma && canvas.ShouldGammaToLinearInMesh())
if (UIParticleProjectSettings.autoColorCorrection && canvas.ShouldGammaToLinearInMesh())
{
workerMesh.LinearToGamma();
}