void Start() { swipeInputs = GetComponent <SimpleSwipeInputDetector>(); swipeInputs.OnSwipeRight += PreviousWorld; swipeInputs.OnSwipeLeft += NextWorld; UpdateNavigationButtons(); HandlePopupWindows(); }
void Start() { swipeInputs = GetComponent<SimpleSwipeInputDetector>(); swipeInputs.OnSwipeRight += NextWorld; swipeInputs.OnSwipeLeft += PreviousWorld; UpdateNavigationButtons(); HandlePopupWindows(); }