Skip to content

Commit e8095ae

Browse files
ritamerklJonMUnity
andauthored
DOCS: Update documentation for MonoBehaviour OnMouse events (ISX-2383) (#2301)
Co-authored-by: JonMUnity <[email protected]>
1 parent 55bc806 commit e8095ae

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

Packages/com.unity.inputsystem/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ however, it has to be formatted properly to pass verification tests.
1010

1111
## [Unreleased] - yyyy-mm-dd
1212

13+
### Changed
14+
15+
- Updated documentation to reflect that the OnMouse MonoBehaviour events are now supported in Unity 6.4 and above.
16+
1317
### Fixed
1418

1519
- Fixed warnings being generated on Unity 6.4 and 6.5. (ISX-2395).

Packages/com.unity.inputsystem/Documentation~/KnownLimitations.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,4 @@ The following is a list of known limitations that the Input System currently has
3434
3535
## Features Supported by Old Input Manager
3636

37-
* `MonoBehaviour` mouse methods (`OnMouseEnter`, `OnMouseDrag`, etc) will not be called by the Input System.
3837
* Unity Remote doesn't currently support the Input System. This is being worked on.

Packages/com.unity.inputsystem/Documentation~/Migration.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ Directly reading hardware controls bypasses the new Input System's action-based
9999

100100
### Mouse
101101

102+
`MonoBehaviour.OnMouse` events, such as [MonoBehaviour.OnMouseDown](https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnMouseDown.html), are supported in Unity 6.4 and later.
103+
102104
|Input Manager (Old)|Input System (New)|
103105
|--|--|
104106
[`Input.GetMouseButton`](https://docs.unity3d.com/ScriptReference/Input.GetMouseButton.html)<br/>Example: `Input.GetMouseButton(0)`|Use [`isPressed`](xref:UnityEngine.InputSystem.Controls.ButtonControl.isPressed) on the corresponding mouse button.<br/>Example: `InputSystem.Mouse.current.leftButton.isPressed`

0 commit comments

Comments
 (0)