mirror of
https://github.com/mob-sakai/UIEffect.git
synced 2026-12-06 22:12:39 +08:00
fix: Added an option to Project Settings to disable color correction and revert to the color output used in version 5.11.8 or earlier
close #414
This commit is contained in:
@@ -288,6 +288,13 @@ namespace Coffee.UIEffects
|
||||
_isContextDirty = true;
|
||||
}
|
||||
|
||||
public void SetMaterialContextAllDirty()
|
||||
{
|
||||
_isContextDirty = true;
|
||||
context.SetGradationDirty();
|
||||
context.SetTransitionGradationDirty();
|
||||
}
|
||||
|
||||
internal void ReleaseMaterial()
|
||||
{
|
||||
MaterialRepository.Release(ref _material);
|
||||
|
||||
Reference in New Issue
Block a user