public float ValueToPixel(float value) { float height = this.contentRect.height; float num2 = this.m_TimeArea.m_Scale.y * -1f; float num3 = (this.m_TimeArea.shownArea.yMin * num2) * -1f; return (height - ((value * num2) + num3)); }