ws
Size: a a a
ws
sb
sb
sb
Б[
I
var bounds = GetHierarchicalBounds(composite); // get hierarchical boundsточка ставится черт знает где.. ааа что я не так делаю?)
var length = GetMaxDimension(bounds.size) / 2; // get max dimension of the object
var dir = Camera.main.transform.position - composite.position; // get valid direction
var pos = composite.position + (dir.normalized * length); // find the length in-between vectors
var cc = new GameObject("top");
cc.transform.position = pos; // place object in-between
n
I
DS
DS
DS
I
SP
DS
DS
SP
SP
SP
SP
DS