Can editorWindow get a window message?

Hi. I'm trying to make animation editorwindow fitted to our project! and I need a message like mouse wheel in editorwindow. but I failed to come up with a way. I looked over here UnityAnswers and UnityForum. There's nothing i'm looking for! Is it possible get a windowmessage in editor window? Please answer me! It's very important to our project.

Thank you in advance.

2 Answers

2

In your update:

Debug.Log("Mouse scroll wheel value: " + Input.GetAxis("Mouse ScrollWheel"));

I believe that you generally refer to how to read the mouse buttons, that is GetMouseButton, GetMouseButtonUp and GetMouseButtonDown.

Here a sample

if (Input.GetMouseButtonDown (0)) { 
 Debug.Log("Left button is pressed!");  
} 

But tracking the mouse wheel I don't have a clue yet.