Пример #1
0
    public override void Update()
    {
        if (!Exists)
        {
            return;
        }
        base.Update();
        if (particlesystem.isPaused)
        {
            particlesystem.Play();
        }

        ParentShip.DrainFuel(FuelDrain * Throttle);
        ParentShip.Push(Direction * Thrust);
    }