- Home /
Question by
Xematical · 5 days ago ·
multithreading
How to set job variables ?
I have created a job but the code in it requires a few variables to run, such as an int
, a transform
, a list of GameObject
s and a few others, is there a way that I could set these variables when I start the job as I would using parameters in a void
.
Comment
Here is an example:
https://docs.unity3d.com/Manual/JobSystemSchedulingJobs.html
Your answer

Follow this Question
Related Questions
Inter Scene Loading Screen Animation 3 Answers
When can GL.IssuePluginEvent be called? 3 Answers
multithreading physX 1 Answer
Question regarding PhysicsScene 0 Answers
How does unity thread works? 0 Answers