Пример #1
0
        public void InitCharacteristics(Rigidbody curRB, IP_BaseAirplane_input curInput)
        {
            //Basic initialization
            input            = curInput;
            rb               = curRB;
            startDrag        = rb.drag;
            startAngularDrag = rb.angularDrag;

            //Find the max meters per second
            maxMPS = maxMPH / mpsToMph;
        }
 void OnEnable()
 {
     targetInput = (IP_BaseAirplane_input)target;
 }