Пример #1
0
        private void Prepare()
        {
            stators = BlockSystem <IMyMotorStator> .SearchByTag(this, MyProperty.Search_Rotor);

            pistonUp = BlockSystem <IMyPistonBase> .SearchByTag(this, MyProperty.Search_Piston_Up);

            pistonDown = BlockSystem <IMyPistonBase> .SearchByTag(this, MyProperty.Search_Piston_Down);

            pistonRayon = BlockSystem <IMyPistonBase> .SearchByTag(this, MyProperty.Search_Piston_Rayon);

            drills = BlockSystem <IMyShipDrill> .SearchBlocks(this);

            SetTargetValues();
        }