Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [JobProducerType(typeof(IJobSingleExtensions.JobProcess<>))]
- public interface IJobSingle {
- void Execute();
- }
- public static unsafe class IJobSingleExtensions {
- public static JobHandle Schedule<T>(this T jobData, JobHandle inputDeps = default) where T : struct, IJobSingle {
- }
- internal struct JobProcess<T> where T : struct, IJobSingle {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment