1
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user