Exemple #1
0
        private void Awake()
        {
            var panelBucket = GetComponent <PanelBucket>();

            roundResultPanel = panelBucket.RoundResults.GetComponent <PanelAnimatorHelper>();
            roundCoordinator = GetComponent <RoundCoordinator>();
            roundCoordinator.CurrentRoundChanged += OnCurrentRoundChanged;
        }
 private void Awake()
 {
     instructionsGuiHandler = GetComponent <InstructionsGuiHandler>();
     panelAnimator          = GetComponent <PanelAnimatorHelper>();
     currentInterval        = 1;
     currentCountdownValue  = countdownSeconds;
     timerText.text         = currentCountdownValue.ToString(CultureInfo.InvariantCulture);
 }