I am using Poly-toolkit for Unity in my project and I came across a scenario where I want to save the GameObject(got from PolyImportResult) to Unity.
So, I performed several methods:
1) Directly saving the gameobject into Prefabs. It saves the gameobject, but I am unable to see it in my scene as it does not have any materials, shaders or other important properties which make it visible.
2)Enabling the clientThrottledMainThread property during import returns the mainThreadThrottler which has materials, textures and other properties but I am unable to iterate through the collection due to its type.
Is there any way to save the GameObject in unity or can iterate through the mainThreadThrottler to get the required components. If so, please provide the way?
I am using Poly-toolkit for Unity in my project and I came across a scenario where I want to save the GameObject(got from PolyImportResult) to Unity. So, I performed several methods: 1) Directly saving the gameobject into Prefabs. It saves the gameobject, but I am unable to see it in my scene as it does not have any materials, shaders or other important properties which make it visible. 2)Enabling the clientThrottledMainThread property during import returns the mainThreadThrottler which has materials, textures and other properties but I am unable to iterate through the collection due to its type.
Is there any way to save the GameObject in unity or can iterate through the mainThreadThrottler to get the required components. If so, please provide the way?