#Simple subscene with prefab to test layout?

1 messages · Page 1 of 1 (latest)

teal panther
#

What has me confused is that this mostly worked when I started by adding this layout, then had a GUI read values from the entity manager to grab the Ship current values (ShipAuthoring bakes Ship IComponentData)

#

Because "bandwidth" starts at 0, and counts up, everything seems to work fine. When I added health and energy, which start at 100 in this case and count down, i noticed all my entities seemed to be initializing with maxX values of 0

#

I have this, plus 3 simple systems: one that regenerates bandwidth based on the max and recharge values in the authoring component, and two that simply take chunks of Health and Energy off so I can test my UI

#

this part has my particularly confused, as it seemed to bake my values for maxBandwidth and refresh rate just fine?

#

is there some kind of static point in time where my initial component/prefab did bake an entity with the right maxBandwidth/refreshRate but no longer bakes in new values?