コード例 #1
0
    private void Start()
    {
        _hudController = FindObjectOfType <HudController>();
        _hudController.SetCurrentAction("--", "--");
        _hudController.SetSimulationStatus(SimStatus.None);

        _planSolver = GetComponent <PlanSolver>();
        // SET holders game objects in scene
        SetHolders();
        // SETUP SIMULATION WITH SETTINGS
        SetupSimulation();
        // START SIMULATION ROUTINES
        StartCoroutine(SimulatePlan());
    }
コード例 #2
0
        public void SolveOne()
        {
            var solver = new PlanSolver(2);

            SolveOneProblemWithCluster(solver, 2);
        }