BASIC TELEPORTING QUEST: ‘Illuminate Area’ - Solutions

Feel free to share your solutions, ideas and creations below. If you get stuck, you can find some ideas here for completing this challenge.

I wasn’t really sure how to implement this one, I guess we were supposed to use the area lights attached to the prefab? Instead I decided to just make the individual teleporter material emissive, I figure the glow in the dark should lead players in the right direction :slight_smile:


That is a cool solution. I did end up adding in some of my own lights for this one and rearranging some of the pre-existing lights in the hierarchy.

Great thinking on that one and it looks good too!


I used the area light inside the house

        if( == "Area Light (1)")
            areaLight.GetComponent<Light>().enabled = true;
1 Like

I added a new field nextTeleport to the top of the Teleport.cs Script:

[SerializeField] Transform nextTeleport;

So anyone making the maps can decide for themselves where the Area Light inside the Elements will be at. I deactivated the Area Light by default and set my method to this:

void IlluminateArea()
    if (!nextTeleport) return;

    areaLight.enabled = true;
    areaLight.transform.position = nextTeleport.position;

1 Like

Good thinking!