Introduction
Last updated
Last updated
Entangle Pattern Pre-Link 2 Game Objects together. Usually used for linking data and UI.
Use cases Example: - Weapon <--> Weapon UI - Buff <--> Buff UI Image
With Observer Pattern, There is a pain point that when the game object is newly spawned. They would not be linked. But with Entangle Pattern. You could setup an Entangled Prefab and pre-link them. And when you put the prefab into scene, it would be break apart and send back to their own parent transform.