GameObject Parent { get; set; }

Summary

If set with a parent and ['cref'] is true, we will update our position to match the parent's world position. You can use ['cref'] to set an offset from the parent's position. Setting a parent also allows you to use GameObject.StopAllSounds on the parent to stop all sounds that are following it. This is set automatically when calling ['cref'] on a GameObject, but you can set it manually if you want to change the parent of an existing sound handle.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.