Пример #1
0
    private void OnMouseOver()
    {
        if (systemSelectionManager.interfaceLevel == Scr_SystemSelectionManager.InterfaceLevel.System)
        {
            travelGateCanvas.SetActive(true);

            if (Input.GetMouseButtonDown(0))
            {
                Scr_Travel.JumpTravel(false, Scr_Levels.Galaxies.Galaxy1, targetGalaxy);
            }
        }
    }
 private void Start()
 {
     Scr_LevelManager.Finder();
     Scr_Travel.Finder();
 }