//m_textMeshPro.font = Resources.Load("Fonts & Materials/Anton SDF", typeof(TextMeshProFont)) as TextMeshProFont; // Make sure the Anton SDF exists before calling this...
//m_textMeshPro.fontSharedMaterial = Resources.Load("Fonts & Materials/Anton SDF", typeof(Material)) as Material; // Same as above make sure this material exists.
//m_textMeshPro.fontColor = new Color32(255, 255, 255, 255);
m_material01=m_textMeshPro.font.material;
m_material02=Resources.Load<Material>("Fonts & Materials/LiberationSans SDF - Drop Shadow");// Make sure the LiberationSans SDF exists before calling this...
//m_textMeshPro.font = Resources.Load("Fonts & Materials/Anton SDF", typeof(TextMeshProFont)) as TextMeshProFont; // Make sure the Anton SDF exists before calling this...
//m_textMeshPro.fontSharedMaterial = Resources.Load("Fonts & Materials/Anton SDF", typeof(Material)) as Material; // Same as above make sure this material exists.
//m_textMeshPro.fontColor = new Color32(255, 255, 255, 255);
m_material01=m_textMeshPro.font.material;
m_material02=Resources.Load<Material>("Fonts & Materials/LiberationSans SDF - BEVEL");// Make sure the LiberationSans SDF exists before calling this...
text.text=dropdownWithPlaceholder.value>-1?"Selected values:\n"+dropdownWithoutPlaceholder.value+" - "+dropdownWithPlaceholder.value:"Error: Please make a selection";