ドキュメント

Unity Engine

Unity Engine

sourceEvent

The input event that triggered the shortcut.
読み終わるまでの所要時間 1 分最終更新 4日前

Definition

public Event sourceEvent

Remarks

This is
null
when the shortcut is triggered programmatically rather than by a user input event, for example when a clutch shortcut is ended because its context was deactivated rather than by releasing its binding.