Skip to content

Commit 4cbf7ec

Browse files
Add comment to explain the early return when not finding a UI action map.
1 parent 8d7373e commit 4cbf7ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Packages/com.unity.inputsystem/InputSystem/Plugins/InputForUI/InputActionAssetVerifier.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ static InputActionAssetVerifier()
3232
public void Verify(InputActionAsset asset,
3333
ProjectWideActionsAsset.IReportInputActionAssetVerificationErrors reporter)
3434
{
35+
// We don't want to log warnings if no UI action map is present as we default in this case.
3536
if (asset.FindActionMap("UI", false) == null)
3637
{
3738
return;

0 commit comments

Comments
 (0)