private void ApplyColorAndTint() { //IL_0012: Unknown result type (might be due to invalid IL or missing references) //IL_0018: Unknown result type (might be due to invalid IL or missing references) //IL_001d: Unknown result type (might be due to invalid IL or missing references) m_font.ChangeMeshColor(m_meshFilter.get_sharedMesh(), m_color, Color.op_Implicit(m_tint)); }
protected override void UpdateGeometry() { //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_005e: Unknown result type (might be due to invalid IL or missing references) //IL_006b: Unknown result type (might be due to invalid IL or missing references) //IL_0071: Unknown result type (might be due to invalid IL or missing references) //IL_0076: Unknown result type (might be due to invalid IL or missing references) //IL_007b: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Unknown result type (might be due to invalid IL or missing references) //IL_008a: Unknown result type (might be due to invalid IL or missing references) //IL_00a1: Unknown result type (might be due to invalid IL or missing references) //IL_00a2: Unknown result type (might be due to invalid IL or missing references) //IL_00a7: Unknown result type (might be due to invalid IL or missing references) //IL_00c1: Unknown result type (might be due to invalid IL or missing references) //IL_00c6: Unknown result type (might be due to invalid IL or missing references) //IL_00de: Unknown result type (might be due to invalid IL or missing references) //IL_00e4: Unknown result type (might be due to invalid IL or missing references) //IL_00e9: Unknown result type (might be due to invalid IL or missing references) CanvasRenderer canvasRenderer = this.get_canvasRenderer(); Mesh workerMesh = Graphic.get_workerMesh(); if (null == m_font || !m_font.isValid || string.IsNullOrEmpty(m_text)) { workerMesh.Clear(); m_computedWidth = 0f; } else { if (base.m_Material == null && m_tint != Color.get_white()) { Color val = m_color * m_tint; m_font.BuildUIMesh(workerMesh, m_text, Color32.op_Implicit(val), m_alignment); m_font.ChangeMeshColor(workerMesh, val, Color.op_Implicit(Color.get_white())); } else { m_font.BuildUIMesh(workerMesh, m_text, Color32.op_Implicit(m_color), m_alignment); m_font.ChangeMeshColor(workerMesh, m_color, Color.op_Implicit(m_tint)); } m_computedWidth = m_font.lastComputedWidth; } canvasRenderer.SetMesh(workerMesh); }