Typo in aura mode script

parent 7451c21f
......@@ -12,7 +12,7 @@ public class VAUAuralizationMode : MonoBehaviour
public bool AtmosphericTemporalVariations = false;
public bool Scattering = false;
public bool Diffraction = false;
public bool NearFielEffects = false;
public bool NearFieldEffects = false;
public bool DopplerShifts = true;
public bool SphericalSpreadingLoss = true;
......@@ -26,7 +26,7 @@ public class VAUAuralizationMode : MonoBehaviour
public bool AtmosphericTemporalVariations = true;
public bool Scattering = true;
public bool Diffraction = true;
public bool NearFielEffects = true;
public bool NearFieldEffects = true;
public bool DopplerShifts = true;
public bool SphericalSpreadingLoss = true;
......@@ -47,7 +47,7 @@ public class VAUAuralizationMode : MonoBehaviour
iCompare += AtmosphericTemporalVariations ? 1 << 6 : 0;
iCompare += Scattering ? 1 << 7 : 0;
iCompare += Diffraction ? 1 << 8 : 0;
iCompare += NearFielEffects ? 1 << 9 : 0;
iCompare += NearFieldEffects ? 1 << 9 : 0;
iCompare += DopplerShifts ? 1 << 10 : 0;
iCompare += SphericalSpreadingLoss ? 1 << 11 : 0;
......@@ -143,10 +143,10 @@ public class VAUAuralizationMode : MonoBehaviour
AuraStringChanged(AuraString);
}
if (AuraMode.NearFielEffects != AuraModeShadow.NearFielEffects)
if (AuraMode.NearFieldEffects != AuraModeShadow.NearFieldEffects)
{
AuraString = AuraMode.NearFielEffects ? "+NF" : "-NF";
AuraModeShadow.NearFielEffects = AuraMode.NearFielEffects;
AuraString = AuraMode.NearFieldEffects ? "+NF" : "-NF";
AuraModeShadow.NearFieldEffects = AuraMode.NearFieldEffects;
if (AuraStringChanged != null)
AuraStringChanged(AuraString);
}
......@@ -186,8 +186,8 @@ public class VAUAuralizationMode : MonoBehaviour
if (externAuraString == "-SC") Scattering = false;
if (externAuraString == "+DIF") Diffraction = true;
if (externAuraString == "-DIF") Diffraction = false;
if (externAuraString == "+NF") NearFielEffects = true;
if (externAuraString == "-NF") NearFielEffects = false;
if (externAuraString == "+NF") NearFieldEffects = true;
if (externAuraString == "-NF") NearFieldEffects = false;
if (externAuraString == "+DP") DopplerShifts = true;
if (externAuraString == "-DP") DopplerShifts = false;
if (externAuraString == "+SL") SphericalSpreadingLoss = true;
......@@ -206,7 +206,7 @@ public class VAUAuralizationMode : MonoBehaviour
am.AtmosphericTemporalVariations = AtmosphericTemporalVariations;
am.Scattering = Scattering;
am.Diffraction = Diffraction;
am.NearFielEffects = NearFielEffects;
am.NearFieldEffects = NearFieldEffects;
am.DopplerShifts = DopplerShifts;
am.SphericalSpreadingLoss = SphericalSpreadingLoss;
return am;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment