예제 #1
0
파일: Program.cs 프로젝트: Helfima/SEIngame
        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();
        }