Unity 에서 레이캐스트용 Job 객체가 있습니다. RaycastCommand 라는 객체인데 이것의 성능을 테스트 하기 위해 실험을 해 보았습니다. 0.1도 단위로 Ray를 쏴서 성능 비교를 진행 하였습니다. Update()문에서 일반 Physhics.RaycastNonAlloc 으로 처리된것과 RaycastCommand로 처리한 것을 비교 해 보았습니다. for (int i = 0; i < totalRay; ++i) { float angle = stepSize * i; float rad = angle * Mathf.Deg2Rad; Vector3 direction = new Vector3(Mathf.Sin(rad), 0, Mathf.Cos(rad)); Ray ray = new Ray(this.trans..