コード例 #1
0
    public void Initialize(CellGrid cellGrid, BehaviorTree agentBehaviorTree, Pathfinder pathfinder)
    {
        CellGrid     = cellGrid;
        behaviorTree = agentBehaviorTree;

        data.LoadData();
        stats.Initialize(this);

        simpleVehicleModel.Initialize();
        movementController.Initialize(cellGrid, pathfinder);

        movementController.EnableAllPathingImprovements();
        //movementController.Toggle_CanJump(true);
        DisableAllMovementVisualization();
    }