예제 #1
0
        public override void UpdateAfterSimulation100()
        {
            base.UpdateAfterSimulation100();
            m_drillBase.UpdateAfterSimulation100();

            if (Sync.IsServer && IsFunctional && m_useConveyorSystem && m_inventory.GetItems().Count > 0)
            {
                MyGridConveyorSystem.PushAnyRequest(this, m_inventory, OwnerId);
            }
        }
예제 #2
0
 public override void UpdateBeforeSimulation100()
 {
     base.UpdateBeforeSimulation100();
     m_drillBase.UpdateAfterSimulation100();
     m_oreDetectorBase.Update(PositionComp.GetPosition());
 }