Search Unity

ECS Simple Prefab Instance

Discussion in 'Scripting' started by enderoff, Aug 16, 2019.

  1. enderoff

    enderoff

    Joined:
    Feb 22, 2014
    Posts:
    1
    I need to spawn using ECS a prefab (just that), but it's being impossible to find the right code for it. Any working tutorial? Or Github project with an example?

    I created World, Entity Manager, and spawned 100k Grass Meshes+Material without problems, but Prefabs seems more tricky.

    Thanks a lot, greetings.