0
\$\begingroup\$

Can we use BurstCompile attribute without using any Jobs or ECS System in Unity? does adding [BurstCompile] attribute before methods bring us any benefits?

\$\endgroup\$
2
\$\begingroup\$

No. The burst compiled version of a method is called only by the job system. Regular C# scripting tasks you do in Unity without jobs will not benefit from the burst compile attribute.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.