Beispiel #1
0
    private void SetValuesFromMood(FaerieMood mood)
    {
        faerieSpeed = mood.speed;

        ColorParticle(faerieParticles, mood.mainFaerieColor, mood.accentColor);
        ColorParticle(circleParticles, mood.mainCircleColor, mood.accentColor);

        faerieGlow.color     = mood.glowColor;
        faerieGlow.intensity = mood.glowIntensity;

        windZone.windMain = mood.windForce;
    }
Beispiel #2
0
    private void SetValuesFromMood(FaerieMood mood)
    {
        faerieSpeed = mood.speed;

        ColorParticle(faerieParticles, mood.mainFaerieColor, mood.accentColor);
        ColorParticle(circleParticles, mood.mainCircleColor, mood.accentColor);

        faerieGlow.color     = mood.glowColor;
        faerieGlow.intensity = mood.glowIntensity;

        windZone.windMain = mood.windForce;

        NavMesh.SetAreaCost(NavMesh.GetAreaFromName("FaerieCircle"), mood.areaCost);
    }