引入属性、伤害管线
This commit is contained in:
+1
-2
@@ -119,8 +119,7 @@ namespace SepCore.InputModule.Tests
|
||||
[Test]
|
||||
public void RegisterListener_AddsToInternalDictionary()
|
||||
{
|
||||
bool called = false;
|
||||
Action<InputCommand> listener = _ => called = true;
|
||||
Action<InputCommand> listener = _ => { };
|
||||
|
||||
_component.RegisterListener(InputActionId.Pause, listener);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user