Hi everyone,
How can I set active/deactive for a specific entity in Niantic Studio, similar to the gameObject.SetActive(true/false)
function in Unity?
Hi!
Currently itβs not possible to toggle objects during runtime.
We have ecs.Hidden.reset but it wonβt prevent the components on the object from Ticking.
2 Likes
I think using SetScale to hide it is a temporary solution but it does not guarantee optimal performance
For example:
world.setScale(schemaAttribute.cursor(eid).oceanEarthEntity, 0.00001, 0.00001, 0.00001)
Thanks for your help
This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.