示例#1
0
    private void launch()
    {
        increaseEngineIntensity(1f);
        flightTimeStart = Time.time;
        isLaunched      = true;

        shipEngineParticleSystemMain.startSize        = 5f;
        shipEngineParticleSystemEmmision.rateOverTime = 200f;

        if (target)
        {
            hotspotHolder = target.getRandomHotspot();
            alignTowardsHotspot(hotspotHolder);
        }
    }