예제 #1
0
        private void ReloadExternStorageStat(ObjectId statId)
        {
            IExternStorageMaterial obj = ExternStorageMaterials.FirstOrDefault(e => e.StatId == statId);

            if (obj == null)
            {
                return;
            }

            obj.Load();

            IMaterial material = _materials.First(m => m.MaterialId == obj.MaterialId);

            material.Load();
        }
예제 #2
0
        public void ReloadMaterial(ObjectId materialId)
        {
            IMaterial material = _materials.First(m => m.MaterialId == materialId);

            material.Load();
        }