mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-30 03:32:47 +00:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
cc6286fc92
@ -5,50 +5,6 @@ namespace QSB.Inputs;
|
||||
|
||||
public class QSBInputManager : MonoBehaviour, IAddComponentOnStart
|
||||
{
|
||||
// TODO : finish instruments - disabled for 0.7.0 release
|
||||
/*
|
||||
public static event Action ChertTaunt;
|
||||
public static event Action EskerTaunt;
|
||||
public static event Action RiebeckTaunt;
|
||||
public static event Action GabbroTaunt;
|
||||
public static event Action FeldsparTaunt;
|
||||
public static event Action ExitTaunt;
|
||||
|
||||
public void Update()
|
||||
{
|
||||
if (Input.GetKey(KeyCode.T))
|
||||
{
|
||||
// Listed order is from sun to dark bramble
|
||||
if (Input.GetKeyDown(KeyCode.Alpha1))
|
||||
{
|
||||
ChertTaunt?.Invoke();
|
||||
}
|
||||
else if (Input.GetKeyDown(KeyCode.Alpha2))
|
||||
{
|
||||
EskerTaunt?.Invoke();
|
||||
}
|
||||
else if (Input.GetKeyDown(KeyCode.Alpha5))
|
||||
{
|
||||
RiebeckTaunt?.Invoke();
|
||||
}
|
||||
else if (Input.GetKeyDown(KeyCode.Alpha4))
|
||||
{
|
||||
GabbroTaunt?.Invoke();
|
||||
}
|
||||
else if (Input.GetKeyDown(KeyCode.Alpha3))
|
||||
{
|
||||
FeldsparTaunt?.Invoke();
|
||||
}
|
||||
}
|
||||
|
||||
if (OWInput.GetValue(InputLibrary.moveXZ, InputMode.None) != Vector2.zero
|
||||
|| OWInput.GetValue(InputLibrary.jump, InputMode.None) != 0f)
|
||||
{
|
||||
ExitTaunt?.Invoke();
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
public static QSBInputManager Instance { get; private set; }
|
||||
|
||||
public void Start()
|
||||
|
Loading…
x
Reference in New Issue
Block a user