Esempio n. 1
0
    private JobHandle ReallyToughTask(Vector3 spwanPoint)
    {
        ReallyToughJob job = new ReallyToughJob();

        job.spawn = spwanPoint;
        return(job.Schedule());
    }
Esempio n. 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());
    }
Esempio n. 3
0
    private JobHandle ReallyToughTaskJob()
    {
        ReallyToughJob job = new ReallyToughJob();

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

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

        return(reallyToughJob.Schedule());
    }