/** * Refresh all changes to components for this entity. After adding or removing components, you must call * this method. It will update all relevant systems. * It is typical to call this after adding components to a newly created entity. */ public void Refresh() { if (refreshingState == true) { return; } world.RefreshEntity(this); refreshingState = true; }
/** * Refresh all changes to components for this entity. After adding or removing components, you must call * this method. It will update all relevant systems. * It is typical to call this after adding components to a newly created entity. */ public void Refresh() { world.RefreshEntity(this); }