Exemple #1
0
    void SpawnRandomBall()
    {
        Vector3  ballPos = new Vector3(Random.Range(gameBoard.min.x, gameBoard.max.x), Random.Range(gameBoard.min.y, gameBoard.max.y), 0);
        BallType type    = ballManager.GetRndType();

        SpawnBall(ballPos, type);
    }