Example #1
0
 // Mono
 void Update()
 {
     if (Time.time % 2 < 1)
     {
         HoloShader.EnableDistortion(Material, HoloShader.Distortion.Distirtion);
     }
     else
     {
         HoloShader.EnableDistortion(Material, HoloShader.Distortion.Off);
     }
 }
 // Mono
 void Update()
 {
     if (Time.time % 2 < 1)
     {
         HoloShader.EnableNoise(Material, HoloShader.Noise.On);
     }
     else
     {
         HoloShader.EnableNoise(Material, HoloShader.Noise.Off);
     }
 }
Example #3
0
 // Mono
 void Update()
 {
     if (Time.time % 2 < 1)
     {
         HoloShader.EnableScanline(Material, HoloShader.Scanline.World);
     }
     else
     {
         HoloShader.EnableScanline(Material, HoloShader.Scanline.Off);
     }
 }