Esempio n. 1
0
        public override void LoadData()
        {
            base.LoadData();
            Static = this;
            Debug.Assert(m_loaded.Count == 0);

            foreach (var material in MyDefinitionManager.Static.GetPhysicalMaterialDefinitions())
            {
                LoadMaterialProperties(material);
            }

            foreach (var material in MyDefinitionManager.Static.GetPhysicalMaterialDefinitions())
            {
                LoadMaterialSoundsInheritance(material);
            }
        }
        public override void LoadData()
        {
            base.LoadData();
            Static = this;
            Debug.Assert(m_loaded.Count == 0);

            foreach (var material in MyDefinitionManager.Static.GetPhysicalMaterialDefinitions())
            {
                LoadMaterialProperties(material);
            }

            foreach(var material in MyDefinitionManager.Static.GetPhysicalMaterialDefinitions())
            {
                LoadMaterialSoundsInheritance(material);
            }
        }
Esempio n. 3
0
 protected override void UnloadData()
 {
     base.UnloadData();
     Static = null;
 }
 protected override void UnloadData()
 {
     base.UnloadData();
     Static = null;
 }