Skip to content

Instantly share code, notes, and snippets.

@eunjin3786
Created February 23, 2022 09:17
Show Gist options
  • Save eunjin3786/270f537e530deb1d0c38ed74d8d45249 to your computer and use it in GitHub Desktop.
Save eunjin3786/270f537e530deb1d0c38ed74d8d45249 to your computer and use it in GitHub Desktop.
@IBAction func launchUnityButtonDidTap(_ sender: Any) {
UnityManager.shared.launchUnity()
DispatchQueue.main.asyncAfter(deadline: .now() + 3) {
UnityManager.shared.closeUnity()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment