Пример #1
0
    void Start()
    {
        swipeInputs = GetComponent <SimpleSwipeInputDetector>();
        swipeInputs.OnSwipeRight += PreviousWorld;
        swipeInputs.OnSwipeLeft  += NextWorld;

        UpdateNavigationButtons();
        HandlePopupWindows();
    }
Пример #2
0
    void Start()
    {
        swipeInputs = GetComponent<SimpleSwipeInputDetector>();
        swipeInputs.OnSwipeRight += NextWorld;
        swipeInputs.OnSwipeLeft += PreviousWorld;

        UpdateNavigationButtons();
        HandlePopupWindows();
    }