예제 #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);
 }