public void ResetCamera(Camera cam) { if (ActiveENodes == null) { return; } for (int i = 0; i < MaxENodes; i++) { EffectNode node = ActiveENodes[i]; if (node != null) { node.ResetCamera(cam); } else { node = AvailableENodes[i]; node.ResetCamera(cam); } } }