コード例 #1
0
        public DirectionalNavigation(Ship ship, NavigationOptions options, Scalar thrustModifier)
        {
            this.ship    = ship;
            this.options = options;

            thrustVectors = ship.gameObject.AddComponent <AxisThrustVectors>();
            thrustVectors.Setup(ship, thrustModifier);
        }
コード例 #2
0
 public SimpleNavigation(Ship ship, NavigationOptions options, Scalar thrustModifier)
 {
     this.ship          = ship;
     this.options       = options;
     this.thrustVectors = new ThrustVectors(thrustModifier);
 }