template:
code:
result:
'self._config.model' is a asset ref of the template. so.
3 AnimatedMeshs appears in editor at runtime when I use 'World.SpawnAsset' create object as the code above? why 3? the AnimatedMesh on the top of ball is what I want. what's wrong?
In addition, translate the MUID of the Mesh Spawned on server to client by Events.Broadcast, on client, I use code:
local mesh = World.FindObjectById(muid)
could not found the object. 'mesh' is nil. why?.
well, what can I do when I want to spawn a mesh or other object on server but find the instance on client