예제 #1
0
        public void SuchControllRodDepth(float requestedDepth)
        {
            requestedDepth = requestedDepth.Clamp(0, 1);

            if (ReactorChambers != null)
            {
                ReactorChambers.SetControlRodDepth(requestedDepth);
            }
        }
        public void SuchControllRodDepth(float Specified)
        {
            if (Specified > 1)
            {
                Specified = 1;
            }
            else if (0 > Specified)
            {
                Specified = 0;
            }

            if (ReactorChambers != null)
            {
                ReactorChambers.SetControlRodDepth(Specified);
            }
        }