示例#1
0
    // Update is called once per frame
    private void Update()
    {
        DebugHere();
        Count();

        //needs to be here for efficiency as people wont add routes to it if is bein checkked
        //agaisnt new queues (new buildings added) here will get checked really fast.
        //So people will use Cache routes more and buidings will get Greenlit faster too.
        RoutesCache1.Update();

        if (init)
        {
            Initialize();
        }

        if (Input.GetMouseButtonUp(0))
        {
            OnMouseClick(EventArgs.Empty);
        }
    }