Example #1
0
    private void Start()
    {
        ballPool = new Pool(holder, gameBall, poolSize);
        effectPool.Create(holder);

        shooter.OnShoot += UserShoot;
        shooter.OnAim   += UserAim;

        gamePlayEvents.StartGame = CreateGame;
        gamePlayEvents.ClearGame = Clear;
    }