/SwipeClose

[unity] Screen transition by swiping: スワイプ操作で画面遷移

Primary LanguageC#

SwipeClose

[Unity] Screen transition by swiping - スワイプ操作で画面遷移

20220108_1.mp4

requirement

unity2019 or later
Input System(package)

usage

  1. Attach 'SwipeClose' to any UI.
  2. Set member 'CloseVector'.
  3. 'Scenes/SampleScene.unity' provides the same scene as the video.
  4. OnClosing, OnClosed, SwipeChanged are events to cooperate with other UI when swiping.