This commit is contained in:
CortexCore
2023-10-20 19:31:12 +08:00
parent 5cd094ed9a
commit a160813262
1878 changed files with 630581 additions and 4485 deletions

View File

@@ -23,7 +23,14 @@ namespace BITFALL.Editor
{
playerService.LocalPlayer.Get<IHealth>().HealthPoint = -1;
}
if (Keyboard.current.numpad2Key.wasPressedThisFrame)
{
playerService.LocalPlayer.Invoke(new DamageMessage()
{
target = playerService.LocalPlayer,
damage = 101,
});
}
if (Keyboard.current.numpadPlusKey.wasPressedThisFrame)
{
Time.timeScale = Mathf.Clamp(Time.timeScale + 0.2f, 0, 2);
@@ -34,6 +41,7 @@ namespace BITFALL.Editor
Time.timeScale = Mathf.Clamp(Time.timeScale - 0.2f, 0, 2);
Debug.Log(Time.timeScale);
}
}
private void OnDestroy()