Skip to content

Commit f709f5d

Browse files
CHANGE: Fixing warning after updating editor PlayerInput.camera warning (#2354)
1 parent 04eed02 commit f709f5d

File tree

1 file changed

+2
-0
lines changed
  • Packages/com.unity.inputsystem/InputSystem/Plugins/PlayerInput

1 file changed

+2
-0
lines changed

Packages/com.unity.inputsystem/InputSystem/Plugins/PlayerInput/PlayerInput.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,9 @@ public event Action<PlayerInput> onControlsChanged
808808
public
809809
#if UNITY_EDITOR
810810
// camera property is deprecated and only available in Editor.
811+
#if !UNITY_6000_5_OR_NEWER
811812
new
813+
#endif
812814
#endif
813815
Camera camera
814816
{

0 commit comments

Comments
 (0)