예제 #1
0
 public TransformAccessArray(Transform[] transforms, int desiredJobCount = -1)
 {
     TransformAccessArray.Allocate(transforms.Length, desiredJobCount, out this);
     TransformAccessArray.SetTransforms(this.m_TransformArray, transforms);
 }
예제 #2
0
 public void SetTransforms(Transform[] transforms)
 {
     AtomicSafetyHandle.CheckWriteAndThrow(this.m_Safety);
     TransformAccessArray.SetTransforms(this.m_TransformArray, transforms);
 }