Esempio n. 1
0
    void Start()
    {
        GeneralPlayerMoving = GameObject.Find("Player").GetComponent <MoveByTouchScript>();
        SwipingNavbar       = GameObject.Find("GameOptionTabs").GetComponent <TouchSwipingScipt>();

        GeneralPlayerMoving.isTouchingDetectEnabled = false;

        HeroWindowIsOpen       = false;
        ItemDetailWindowIsOpen = false;
        NavBarWindowIsOpen     = true;
    }
Esempio n. 2
0
 private void Start()
 {
     navigationBarSwipingScript = navigationBar.GetComponent <TouchSwipingScipt>();
     navigationBarBaseScript    = navigationBar.GetComponent <NavigationTabsScript>();
 }