示例#1
0
 protected override void Awake()
 {
     exosuit          = GetComponent <Exosuit>();
     WheelYawSetter   = value => exosuit.steeringWheelYaw = value;
     WheelPitchSetter = value => exosuit.steeringWheelPitch = value;
     base.Awake();
     SmoothRotation = new ExosuitSmoothRotation(gameObject.transform.rotation);
 }
示例#2
0
 protected override void Awake()
 {
     SteeringControl = exosuit = GetComponent <Exosuit>();
     base.Awake();
     SmoothRotation = new ExosuitSmoothRotation(gameObject.transform.rotation);
 }