private ElementState[] ComputeElementStates() { //IL_0044: Unknown result type (might be due to invalid IL or missing references) //IL_0049: Unknown result type (might be due to invalid IL or missing references) //IL_0068: Unknown result type (might be due to invalid IL or missing references) //IL_00be: Unknown result type (might be due to invalid IL or missing references) //IL_00c3: Unknown result type (might be due to invalid IL or missing references) //IL_00e2: Unknown result type (might be due to invalid IL or missing references) //IL_0129: Unknown result type (might be due to invalid IL or missing references) int count = m_elements.Count; ElementState[] array = new ElementState[count]; int selectedIndex = this.selectedIndex; int num = (this.selectedIndex != count - 1) ? (count - 1 - this.selectedIndex) : 0; int num2 = 0; for (int i = 0; i < selectedIndex; i++) { array[i] = ElementState.Create(Vector3.Lerp(m_leftLimit.get_localPosition(), Vector3.get_zero(), m_config.cellPositionCurve.Evaluate((float)(i + 1) / (float)(selectedIndex + 1))), num2, m_config.cellVisibilityCurve.Evaluate(1f - (float)(selectedIndex - i) / (float)count)); num2++; } for (int j = 0; j < num; j++) { int num3 = count - 1 - j; array[num3] = ElementState.Create(Vector3.Lerp(m_rightLimit.get_localPosition(), Vector3.get_zero(), m_config.cellPositionCurve.Evaluate((float)(j + 1) / (float)(num + 1))), num2, m_config.cellVisibilityCurve.Evaluate(1f - (float)(num - j) / (float)count)); num2++; } array[this.selectedIndex] = ElementState.Create(Vector3.get_zero(), num2, 1f); return(array); }