private void OnEnable() { if (cameraConfiguration == null) { cameraConfiguration = new ProjectorCameraConfiguration(); } if (AllProbes[index]) { while (AllProbes[freeIndex]) { freeIndex++; } index = freeIndex; } AllProbes[index] = this; }