ConvertToEntity dumb question

Ok, so I’ve got an object in the scene that has ConvertToEntity → Convert and Inject Game Object.

I want to add some extra components to that converted entity without proxies. Is there a way to declare them?
As far as I understood proxies do not fit the concept, but how to add components without them?

Or proxies are the only way to do it right now?

IConvertGameObjectToEntity

Look at the samples.

https://github.com/Unity-Technologies/EntityComponentSystemSamples/blob/master/Samples/Assets/HelloCube/6.%20SpawnFromEntity/SpawnerAuthoring_FromEntity.cs

For example

1 Like

Just in case anyone else has same question, there’s an example in the samples:
https://github.com/Unity-Technologies/EntityComponentSystemSamples/blob/master/Samples/Assets/HelloCube/6. SpawnFromEntity/SpawnerAuthoring_FromEntity.cs

Also, I’ve realised that it can be used a bootstrap per object, instead of writing one large script / creating ICustomBoostrap for those objects in the scene.

Which is really cool.