Skip to content

Commit 22bff43

Browse files
committed
apply formatting
1 parent 5e7b0fc commit 22bff43

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

Packages/com.unity.inputsystem/InputSystem/Editor/AssetEditor/InputActionEditorWindow.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,17 @@ public static bool OpenAsset(EntityId entityId, int line)
5252

5353
return OpenAsset(EditorUtility.EntityIdToObject(entityId));
5454
}
55+
5556
#else
5657
public static bool OpenAsset(int instanceId, int line)
5758
{
5859
if (!InputActionImporter.IsInputActionAssetPath(AssetDatabase.GetAssetPath(instanceId)))
5960
return false;
60-
61+
6162
return OpenAsset(EditorUtility.InstanceIDToObject(instanceId));
6263
}
63-
#endif
64+
65+
#endif
6466

6567
/// <summary>
6668
/// Open window if someone clicks on an .inputactions asset or an action inside of it.

Packages/com.unity.inputsystem/InputSystem/Editor/UITKAssetEditor/InputActionsEditorWindow.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,17 @@ public static bool OpenAsset(EntityId entityId, int line)
5858

5959
return OpenAsset(EditorUtility.EntityIdToObject(entityId));
6060
}
61+
6162
#else
6263
public static bool OpenAsset(int instanceId, int line)
6364
{
6465
if (!InputActionImporter.IsInputActionAssetPath(AssetDatabase.GetAssetPath(instanceId)))
6566
return false;
66-
67+
6768
return OpenAsset(EditorUtility.InstanceIDToObject(instanceId));
6869
}
69-
#endif
70+
71+
#endif
7072

7173
private static bool OpenAsset(Object obj)
7274
{

Packages/com.unity.inputsystem/InputSystem/Plugins/XR/TrackedPoseDriver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ protected virtual void Awake()
425425
// See https://jira.unity3d.com/browse/XR-7591
426426
#pragma warning disable CS0618
427427
UnityEngine.XR.XRDevice.DisableAutoXRCameraTracking(cameraComponent, true);
428-
#pragma warning restore CS0618
428+
#pragma warning restore CS0618
429429
}
430430
#endif
431431
}

0 commit comments

Comments
 (0)