From b23cb8a5471dd049a7587873e04a6f6f84f621e1 Mon Sep 17 00:00:00 2001 From: Mister_Nebula <41904486+misternebula@users.noreply.github.com> Date: Thu, 25 Nov 2021 15:43:30 +0000 Subject: [PATCH] more cleanup aa --- QSB/Tools/TranslatorTool/QSBNomaiTranslator.cs | 2 +- .../TranslatorTool/QSBNomaiTranslatorProp.cs | 2 +- QSB/Tools/TranslatorTool/QSBTranslatorScanBeam.cs | 15 +++++++-------- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/QSB/Tools/TranslatorTool/QSBNomaiTranslator.cs b/QSB/Tools/TranslatorTool/QSBNomaiTranslator.cs index 32e3ee7d..c534047a 100644 --- a/QSB/Tools/TranslatorTool/QSBNomaiTranslator.cs +++ b/QSB/Tools/TranslatorTool/QSBNomaiTranslator.cs @@ -2,7 +2,7 @@ namespace QSB.Tools.TranslatorTool { - class QSBNomaiTranslator : QSBTool + internal class QSBNomaiTranslator : QSBTool { public static float distToClosestTextCenter = 1f; diff --git a/QSB/Tools/TranslatorTool/QSBNomaiTranslatorProp.cs b/QSB/Tools/TranslatorTool/QSBNomaiTranslatorProp.cs index 1059b415..50b1c22f 100644 --- a/QSB/Tools/TranslatorTool/QSBNomaiTranslatorProp.cs +++ b/QSB/Tools/TranslatorTool/QSBNomaiTranslatorProp.cs @@ -2,7 +2,7 @@ namespace QSB.Tools.TranslatorTool { - class QSBNomaiTranslatorProp : MonoBehaviour + internal class QSBNomaiTranslatorProp : MonoBehaviour { private static MaterialPropertyBlock s_matPropBlock; private static int s_propID_EmissionColor; diff --git a/QSB/Tools/TranslatorTool/QSBTranslatorScanBeam.cs b/QSB/Tools/TranslatorTool/QSBTranslatorScanBeam.cs index bfba9e69..2d4f31bf 100644 --- a/QSB/Tools/TranslatorTool/QSBTranslatorScanBeam.cs +++ b/QSB/Tools/TranslatorTool/QSBTranslatorScanBeam.cs @@ -2,17 +2,16 @@ namespace QSB.Tools.TranslatorTool { - class QSBTranslatorScanBeam : MonoBehaviour + internal class QSBTranslatorScanBeam : MonoBehaviour { public Renderer _projectorRenderer; public Renderer _lightVolumeRenderer; - - const float _focusedBeamWidth = 0.25f; - const float _maxBeamWidth = 1f; - const float _maxBeamLength = 10f; - const float _scanOffset = 0f; - const float _switchLength = 0.33f; - const float _fadeLength = 0.66f; + private const float _focusedBeamWidth = 0.25f; + private const float _maxBeamWidth = 1f; + private const float _maxBeamLength = 10f; + private const float _scanOffset = 0f; + private const float _switchLength = 0.33f; + private const float _fadeLength = 0.66f; public float _scanSpeed = 1f; public readonly Color _baseProjectorColor = new(0.3545942f, 2.206932f, 4.594794f, 1f);