Hi,
Is there a way to use the "Center On Children" command (found under the GameObject menu) from a C# script?
I know I can figure out the centered position, and un-parent all children while I move the parent itself, and maybe "Center On Children" does exactly that, I dunno, but maybe it does something more efficient behind the scenes.
Thanks!
↧