mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-29 00:32:43 +00:00
cleanup warnings
This commit is contained in:
parent
3d1c6e02cf
commit
4b80456b31
@ -23,9 +23,9 @@ namespace QSB.Animation
|
|||||||
private CrouchSync _crouchSync;
|
private CrouchSync _crouchSync;
|
||||||
|
|
||||||
private RuntimeAnimatorController _chertController;
|
private RuntimeAnimatorController _chertController;
|
||||||
private readonly RuntimeAnimatorController _eskerController;
|
//private readonly RuntimeAnimatorController _eskerController;
|
||||||
private readonly RuntimeAnimatorController _feldsparController;
|
//private readonly RuntimeAnimatorController _feldsparController;
|
||||||
private readonly RuntimeAnimatorController _gabbroController;
|
//private readonly RuntimeAnimatorController _gabbroController;
|
||||||
private RuntimeAnimatorController _riebeckController;
|
private RuntimeAnimatorController _riebeckController;
|
||||||
|
|
||||||
public AnimatorMirror Mirror { get; private set; }
|
public AnimatorMirror Mirror { get; private set; }
|
||||||
@ -210,15 +210,15 @@ namespace QSB.Animation
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case AnimationType.Esker:
|
case AnimationType.Esker:
|
||||||
controller = _eskerController;
|
//controller = _eskerController;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case AnimationType.Feldspar:
|
case AnimationType.Feldspar:
|
||||||
controller = _feldsparController;
|
//controller = _feldsparController;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case AnimationType.Gabbro:
|
case AnimationType.Gabbro:
|
||||||
controller = _gabbroController;
|
//controller = _gabbroController;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case AnimationType.Riebeck:
|
case AnimationType.Riebeck:
|
||||||
|
@ -19,12 +19,12 @@ namespace QSB.Instruments
|
|||||||
_rootObj = root;
|
_rootObj = root;
|
||||||
gameObject.AddComponent<CameraManager>();
|
gameObject.AddComponent<CameraManager>();
|
||||||
|
|
||||||
QSBInputManager.ChertTaunt += OnChertTaunt;
|
//QSBInputManager.ChertTaunt += OnChertTaunt;
|
||||||
QSBInputManager.EskerTaunt += OnEskerTaunt;
|
//QSBInputManager.EskerTaunt += OnEskerTaunt;
|
||||||
QSBInputManager.FeldsparTaunt += OnFeldsparTaunt;
|
//QSBInputManager.FeldsparTaunt += OnFeldsparTaunt;
|
||||||
QSBInputManager.GabbroTaunt += OnGabbroTaunt;
|
//QSBInputManager.GabbroTaunt += OnGabbroTaunt;
|
||||||
QSBInputManager.RiebeckTaunt += OnRiebeckTaunt;
|
//QSBInputManager.RiebeckTaunt += OnRiebeckTaunt;
|
||||||
QSBInputManager.ExitTaunt += ReturnToPlayer;
|
//QSBInputManager.ExitTaunt += ReturnToPlayer;
|
||||||
|
|
||||||
QSBCore.Helper.Events.Unity.RunWhen(() => Locator.GetPlayerBody() != null, SetupInstruments);
|
QSBCore.Helper.Events.Unity.RunWhen(() => Locator.GetPlayerBody() != null, SetupInstruments);
|
||||||
}
|
}
|
||||||
@ -42,12 +42,12 @@ namespace QSB.Instruments
|
|||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
QSBInputManager.ChertTaunt -= OnChertTaunt;
|
//QSBInputManager.ChertTaunt -= OnChertTaunt;
|
||||||
QSBInputManager.EskerTaunt -= OnEskerTaunt;
|
//QSBInputManager.EskerTaunt -= OnEskerTaunt;
|
||||||
QSBInputManager.FeldsparTaunt -= OnFeldsparTaunt;
|
//QSBInputManager.FeldsparTaunt -= OnFeldsparTaunt;
|
||||||
QSBInputManager.GabbroTaunt -= OnGabbroTaunt;
|
//QSBInputManager.GabbroTaunt -= OnGabbroTaunt;
|
||||||
QSBInputManager.RiebeckTaunt -= OnRiebeckTaunt;
|
//QSBInputManager.RiebeckTaunt -= OnRiebeckTaunt;
|
||||||
QSBInputManager.ExitTaunt -= ReturnToPlayer;
|
//QSBInputManager.ExitTaunt -= ReturnToPlayer;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnChertTaunt() => StartInstrument(AnimationType.Chert);
|
private void OnChertTaunt() => StartInstrument(AnimationType.Chert);
|
||||||
|
@ -313,7 +313,7 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="OWML">
|
<PackageReference Include="OWML">
|
||||||
<Version>1.1.7</Version>
|
<Version>1.1.8</Version>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup />
|
<ItemGroup />
|
||||||
|
@ -5,6 +5,8 @@ namespace QSB
|
|||||||
{
|
{
|
||||||
public class QSBInputManager : MonoBehaviour
|
public class QSBInputManager : MonoBehaviour
|
||||||
{
|
{
|
||||||
|
// TODO : finish instruments - disabled for 0.7.0 release
|
||||||
|
/*
|
||||||
public static event Action ChertTaunt;
|
public static event Action ChertTaunt;
|
||||||
public static event Action EskerTaunt;
|
public static event Action EskerTaunt;
|
||||||
public static event Action RiebeckTaunt;
|
public static event Action RiebeckTaunt;
|
||||||
@ -12,8 +14,6 @@ namespace QSB
|
|||||||
public static event Action FeldsparTaunt;
|
public static event Action FeldsparTaunt;
|
||||||
public static event Action ExitTaunt;
|
public static event Action ExitTaunt;
|
||||||
|
|
||||||
// TODO : finish instruments - disabled for 0.7.0 release
|
|
||||||
/*
|
|
||||||
public void Update()
|
public void Update()
|
||||||
{
|
{
|
||||||
if (Input.GetKey(KeyCode.T))
|
if (Input.GetKey(KeyCode.T))
|
||||||
|
@ -45,7 +45,7 @@ namespace QSB
|
|||||||
private GameObject _probePrefab;
|
private GameObject _probePrefab;
|
||||||
private bool _everConnected;
|
private bool _everConnected;
|
||||||
|
|
||||||
public void Awake()
|
public new void Awake()
|
||||||
{
|
{
|
||||||
base.Awake();
|
base.Awake();
|
||||||
Instance = this;
|
Instance = this;
|
||||||
|
@ -7,10 +7,7 @@ namespace Popcron
|
|||||||
{
|
{
|
||||||
private static string _prefsKey = null;
|
private static string _prefsKey = null;
|
||||||
private static int? _bufferSize = null;
|
private static int? _bufferSize = null;
|
||||||
private static bool? _enabled = null;
|
|
||||||
private static float? _dashGap = null;
|
private static float? _dashGap = null;
|
||||||
private static bool? _cull = null;
|
|
||||||
private static int? _pass = null;
|
|
||||||
private static Vector3? _offset = null;
|
private static Vector3? _offset = null;
|
||||||
|
|
||||||
private static Vector3[] buffer = new Vector3[BufferSize];
|
private static Vector3[] buffer = new Vector3[BufferSize];
|
||||||
|
@ -5,5 +5,5 @@
|
|||||||
"description": "Adds online multiplayer to the game.",
|
"description": "Adds online multiplayer to the game.",
|
||||||
"uniqueName": "Raicuparta.QuantumSpaceBuddies",
|
"uniqueName": "Raicuparta.QuantumSpaceBuddies",
|
||||||
"version": "0.9.0",
|
"version": "0.9.0",
|
||||||
"owmlVersion": "1.1.7"
|
"owmlVersion": "1.1.8"
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user