コード例 #1
0
 void OnApplicationQuit()
 {
     kdTreeNative.DisposeArrays();
     pointsNative.Dispose();
     queries.Dispose();
     answers.Dispose();
 }
コード例 #2
0
 void OnApplicationQuit()
 {
     kd1.DisposeArrays();
     kd2.DisposeArrays();
     points_native.Dispose();
     queries.Dispose();
     answers.Dispose();
 }
コード例 #3
0
 protected override void OnDestroy()
 {
     if (translations.IsCreated)
     {
         translations.Dispose();
     }
     if (velocities.IsCreated)
     {
         velocities.Dispose();
     }
     kd.DisposeArrays();
 }