Exemple #1
0
    private void InitDefaultData()
    {
        _simModel = new SimulationModel();
        _simModel.GenerateStartingData();
        infoView.UpdateDisplayLabels(_simModel);

        playerController.UpdateData(_simModel, 0.1f, 0.1f);
        playerController.container           = playerContainer.transform;
        playerController.projectileContainer = projectileContainer.transform;

        targetController.UpdateData(_simModel, 0.1f);
        targetController.targetContainer = targetContainer.transform;
    }