Exemple #1
0
        public override void Init(MyObjectBuilder_EntityBase objectBuilder)
        {
            Logging.Instance.WriteLine($"ADDING Large Ore Detector: {Entity.EntityId}", 1);
            m_detector = new LargeNaniteOreDetector((IMyFunctionalBlock)Entity);

            base.Init(objectBuilder);
            NeedsUpdate |= VRage.ModAPI.MyEntityUpdateEnum.BEFORE_NEXT_FRAME;
        }