Esempio n. 1
0
    public void Start()
    {
        _cameraText = transform.FindChild("CameraText").gameObject.GetComponentSafe<Text>();
        _guardText = transform.FindChild("GuardText").gameObject.GetComponentSafe<Text>();
        _difficultyManager = DifficultyManager.Instance;

        _cameraText.text = string.Format("{0:D2}", _difficultyManager.GetRequiredBeacons());
        _guardText.text = string.Format("{0:D4}", _difficultyManager.GetChasersPerWave() * 40);
    }