예제 #1
0
        public void GameOver(object sender, CaughtPlayerEventArgs args)
        {
            var text = $"Вы проиграли! Вас убил {((InteractiveObject)sender).name} - {args.Color} цвета";

            _finishGameLabel.text = text;
        }
예제 #2
0
 private void CaughPlayer(object value, CaughtPlayerEventArgs args)
 {
     Time.timeScale = 0.0f;
 }