private void LoadComplexityData()
        {
            ComplexityDataHead = new mg_pt_ComplexityData();
            TextAsset   textAsset   = Resources.Load("Pizzatron/mg_pt_complexity_data") as TextAsset;
            XmlDocument xmlDocument = new XmlDocument();

            xmlDocument.LoadXml(textAsset.text);
            XmlNode xmlNode = xmlDocument.SelectSingleNode("/data");
            mg_pt_ComplexityData mg_pt_ComplexityData2 = null;

            foreach (XmlElement item in xmlNode.ChildNodes.OfType <XmlElement>())
            {
                if (mg_pt_ComplexityData2 == null)
                {
                    mg_pt_ComplexityData2 = ComplexityDataHead;
                }
                else
                {
                    mg_pt_ComplexityData2.NextData = new mg_pt_ComplexityData();
                    mg_pt_ComplexityData2          = mg_pt_ComplexityData2.NextData;
                }
                LoadXMLClass(mg_pt_ComplexityData2, item);
            }
        }
 private void SetComplexity(mg_pt_ComplexityData p_data)
 {
     CurrentComplexity = p_data;
     m_toppingBar.ShowToppings(CurrentComplexity.HighestTopping);
     m_conveyor.ComplexitySpeedMultiplier = CurrentComplexity.SpeedMultiplier;
 }