当为 Reflection Probes(其 Type 属性设置为 Baked)预计算数据时,包括此 GameObject。
有关更多信息,请参阅有关[[wiki:ReflectionProbes|反射探针]的文档。
void StaticEditorFlagsExample()
{
// Create a GameObject
var go = new GameObject("Example");
// Set the GameObject's StaticEditorFlags
var flags = StaticEditorFlags.ReflectionProbeStatic;
GameObjectUtility.SetStaticEditorFlags(go, flags);
}