StaticBatchingUtility.Combine静态物体合并

static void  Combine( GameObject  staticBatchRoot);

Description

Combine will prepare all children of the staticBatchRoot for static batching.

Once combined children can NOT change their Transform properties, however staticBatchRoot can be moved.

合并staticBatchRoot 的子物体,合并后子物体无法改变Transform属性,但是staticBatchRoot 可以移动

static void  Combine(GameObject[]  gos,  GameObject  staticBatchRoot);

Description

Combine will prepare all gos for the static batching. staticBatchRoot will be treated as their parent.

Once combined gos can NOT change their Transform properties, however staticBatchRoot can be moved.

将gos的物体合并,staticBatchRoot 作为他们的父物体。合并后子物体无法改变Transform属性,但是staticBatchRoot 可以移动

你可能感兴趣的:(u3d)