public BoidCellIterator(BoidCell *ptr, int count)
 {
     _ptr     = ptr;
     _index   = -1;
     _current = 0;
     _count   = count;
 }
 public void OnBoidCellDestroy(Context context, BoidCell *entity)
 {
 }
 public void OnBoidCellCreated(Context context, BoidCell *entity)
 {
 }
 private int _GetOffsetOfBoidCell_Cell()
 {
     var tempObj = new BoidCell(); BoidCell *ptr = &tempObj; var filedPtr = &(ptr->Cell);  return((int)((long)filedPtr - (long)ptr));
 }