← All case studies

Case study 06 · Love Eden · United Tech · 2025

Deciding what gets the player's attention, and in what order

Popups, shop banners and sidebar icons on one pattern: a prefab registry, a service that decides eligibility and order, and ordering that lives in data rather than in code.

My role
Senior Unity Developer. Designed, built and maintained this system.
Constraint
A dozen systems competing for three surfaces, most of them at session start
Outcome
Adding a surface is prefab plus configuration work; a suppressed popup costs nothing
Stack
C#StrangeIoCAddressablesPlayFab ExperimentsDOTween

The problem

Every feature that wants the player's attention competes for one of three surfaces: a popup over everything, a tile in the shop carousel, or an icon on the swipe screen. Offers, the season pass, login bonus, subscription, unlock celebrations and warnings all want the first one, and most of them want it at session start.

Popups used to be permanent objects sitting in the scene, switched on and off. They could not be handed data when opened, they could not be filtered, and adding one meant hand-placing it in the scene.

What I built

Popups are created when needed, destroyed when closed, given their data at creation, and passed through a filter chain before they are ever built. Adding one means registering a type, adding a prefab to the central library and dispatching a signal. No scene surgery.

Which popups a player sees at launch, and in what order, comes from a strategy chosen by how long they have had the game and how many sessions they have played. A first-session player gets the login bonus and nothing else; from day one onward the sequence runs season pass, login bonus, subscription benefit, then one offer picked at random from the eligible pool so launches do not all look identical. Three guards stop the sequence outright.

The filter chain holds an A/B filter that can suppress a popup for a variant or only when triggered from a particular place in the game, and a security filter for flagged accounts. Banners and sidebar icons follow the same pattern, with ordering as an inspector list so a seasonal banner moves above or below the permanent ones without touching code.

A session-start strategy is chosen from player age and session count, then each candidate passes a filter chain before it is ever constructed. Session startdays installed · session countStrategy selectionday 0 first session → login bonus onlyday 1+ → pass, bonus, sub, one offerThree hard guardsshown · auto-swipe · no matchesFilter chain, before constructionA/B variant filter · flagged-account filterBuilt and showndata passed at creationSuppressednever constructed, costs nothing same pattern drives shop banners and sidebar icons; ordering is inspector data

Decisions and trade-offs

Filter before the popup is constructed

instead of building it and hiding it when a filter rejects it

A popup is a prefab, a data fetch and often an addressable load. Constructing one so it can be thrown away means paying for content nobody will see, on the exact frame where the player is already waiting for the session to start.

Session-start order chosen by player age and session count

instead of one fixed priority list for everyone

A first-ever session and a three-week-old account need different first screens. A fixed list means either overwhelming the new player or wasting the returning one's attention.

One offer per session, picked from the eligible pool

instead of showing every eligible offer, or always the highest priority one

Showing all of them turns launch into a gauntlet. Always showing the top one means the player sees the same popup every day until it expires and stops reading it.

Ordering as inspector data

instead of an ordered enum or a hardcoded sequence

Ordering is a live-ops decision made weekly by people who do not build the client. If changing it needs an engineer and a release, it stops being changed.

Result

All three surfaces run on the same shape: a registry, an eligibility service, configuration outside the code. A new seasonal banner or offer icon is prefab and configuration work, and the popup system was adopted project-wide and documented for the team rather than staying a LiveOps-only tool.

This describes architecture and the reasoning behind it. No employer source code is reproduced here.

Building something that has to stay up after launch?