public override void LoadComponent(IPlayerDataComponent ecsComponent) { var jsonData = GetDataByEntity(ecsComponent.EntityId, ecsComponent.ComponentId); if (jsonData != null) { JsonExtensions.DeserializeExistingObject(ecsComponent, jsonData.AsObject); } ecsComponent.IsDirty = false; }