public static void Postfix(GUIHand __instance)
        {
            if (GameInput.GetButtonHeld(GameInput.Button.AltTool) && GameInput.GetButtonDown(GameInput.Button.LeftHand))
            {
                NoCrosshair.check = !NoCrosshair.check;
            }

            if (HandReticle.main.iconType == HandReticle.IconType.Default)
            {
                if ((__instance.GetActiveTarget() == null || Player.main.IsPiloting()) && NoCrosshair.check)
                {
                    NoCrosshair.ChangeCrosshair(false);
                }
                else
                {
                    NoCrosshair.ChangeCrosshair(true);
                }
            }
        }
Exemple #2
0
 public static void Postfix(HandReticle __instance)
 {
     NoCrosshair.icons = __instance._icons;
     NoCrosshair.ChangeCrosshair(false);
 }