Re:Unity Software Inc S-1
by mmcconnell1618 on Monday August 24, 2020 @10:20PM
(#24267606)
You can instantiate, position and script objects in code too. It is helpful to have an asset pipeline to import your models, textures, etc. but then, once you have your prefabs, you can reference them from code and instantiate as you see fit. There is a performance penalty to instantiate at runtime so best practice is to initialize your objects from code at load time, or the start of a scene. Object pooling is also very helpful.
[ Parent
| on HN ]
There are no comments on this comment yet.