Example #1
0
    void Start()
    {
        _pads = FindObjectsOfType <PadBehaviour>();

        _ball = FindObjectOfType <BallBehaviour>();
        _ball.Initiate();

        _textsScore = FindObjectsOfType <Text>();

        GameContainer = new GameInfoContainer();

        SoundHelper.Load();
        SoundHelper.Play(SoundHelper.Audios.Beep);
    }