Example #1
0
    private JobHandle ReallyToughTask(Vector3 spwanPoint)
    {
        ReallyToughJob job = new ReallyToughJob();

        job.spawn = spwanPoint;
        return(job.Schedule());
    }
Example #2
0
    private JobHandle ReallyToughTaskJob()
    {
        ReallyToughJob job = new ReallyToughJob();

        //schedule tells the job system to schedule this job to be completed by an available thread when possible
        //it also returns the job handle which is important to keep track of
        return(job.Schedule());
    }
Example #3
0
    private JobHandle ReallyToughTaskJob()
    {
        ReallyToughJob job = new ReallyToughJob();

        return(job.Schedule());
    }
    private JobHandle JobTest()
    {
        var job = new ReallyToughJob();

        return(job.Schedule());
    }
Example #5
0
    JobHandle ReallyToughTaskJob()
    {
        ReallyToughJob reallyToughJob = new ReallyToughJob();

        return(reallyToughJob.Schedule());
    }