Beispiel #1
0
 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;
 }
Beispiel #2
0
 public void Awake()
 {
     Instance = this;
 }