private void DeletePointInChunk(int index) { ChunkLinker[] chunks = _target.GetComponentsInChildren <ChunkLinker>(); for (int i = 0; i < chunks.Length; i++) { ChunkLinkerEditor pointsEditor = (ChunkLinkerEditor)CreateEditor((ChunkLinker)chunks[i], typeof(ChunkLinkerEditor)); pointsEditor.RemoveChunkUsingOldPoints(index); } }