public void Awake() { transforms = new TransformAccessArray(0, -1); theta = new NativeArray <float>(maxJobs, Allocator.Persistent); angle = new NativeArray <float>(maxJobs, Allocator.Persistent); frequency = new NativeArray <float>(maxJobs, Allocator.Persistent); Instance = this; }
public void Awake() { Instance = this; }