martin-azpillaga / M

Data oriented programming language for game developers
https://minim.tools/M
GNU Affero General Public License v3.0
22 stars 0 forks source link

Fix RectTransform conversion bugs #418

Open martin-azpillaga opened 3 years ago

martin-azpillaga commented 3 years ago

Solve in conversionSystem using update order: https://gametorrahod.com/game-object-conversion-and-subscene/

martin-azpillaga commented 3 years ago

Maybe linking the primary entities' RectTransforms is enough: ForEach((Text t) => Get(primaryEntity(t)).SetParent(Get(primary(t.parent))