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