Version: 2017.1
public bool isMouse ;

説明

マウスのイベントかどうか(読み取り専用)

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void OnGUI() { Event e = Event.current; if (e.isMouse) Debug.Log("Detected a mouse event!"); } }