Ejemplo n.º 1
0
 private static void ThermalVison()
 {
     if (Main.LocalPlayer == null || Main.MainCamera == null)
     {
         return;
     }
     if (Settings.ThermalVison)
     {
         TV                 = Main.MainCamera.GetComponent <ThermalVision>();
         TV.IsFpsStuck      = false;
         TV.IsGlitch        = false;
         TV.IsMotionBlurred = false;
         TV.IsNoisy         = false;
         TV.IsPixelated     = false;
         TV.ThermalVisionUtilities.DepthFade = 0f;
         TV.ThermalVisionUtilities.NoiseParameters.NoiseIntensity = 0f;
         TV.ThermalVisionUtilities.ValuesCoefs.SpecularCoef       = 0.01f;
         TV.ThermalVisionUtilities.ValuesCoefs.RampShift          = 0f;
         TV.On      = true;
         TV.enabled = true;
         return;
     }
     Main.MainCamera.GetComponent <ThermalVision>().On      = false;
     Main.MainCamera.GetComponent <ThermalVision>().enabled = true;
 }
Ejemplo n.º 2
0
 // Token: 0x060000A6 RID: 166 RVA: 0x0000A86C File Offset: 0x00008A6C
 public static bool IsThermalValid(ThermalVision lootableContainer)
 {
     return(lootableContainer != null);
 }
Ejemplo n.º 3
0
 // Use this for initialization
 void Start()
 {
     nightVision   = FindObjectOfType <Nightvision>();
     heatVision    = FindObjectOfType <HeatVision>();
     thermalVision = FindObjectOfType <ThermalVision>();
 }