update
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
@@ -22,6 +23,13 @@ namespace Ichni
|
||||
SetPixelateStrength(Screen.width, Screen.height);
|
||||
}
|
||||
|
||||
private void OnDisable()
|
||||
{
|
||||
FindAndCacheFeatureWithReflection();
|
||||
SetFeatureActive(false);
|
||||
SetPixelateStrength(Screen.width, Screen.height);
|
||||
}
|
||||
|
||||
private void FindAndCacheFeatureWithReflection()
|
||||
{
|
||||
var pipelineAsset = GraphicsSettings.currentRenderPipeline as UniversalRenderPipelineAsset;
|
||||
|
||||
Reference in New Issue
Block a user