예제 #1
0
    private JobHandle ReallyToughTaskJob(float count)
    {
        ReallyToughTaskJob reallyToughTaskJob = new ReallyToughTaskJob()
        {
            Count = count
        };

        return(reallyToughTaskJob.Schedule());
    }
예제 #2
0
    private JobHandle ReallyToughTaskJob()
    {
        var job = new ReallyToughTaskJob();

        return(job.Schedule());
    }