protected override void CustomOnGUI() { EditorUIHelper.TextArea("还有一种方式就是创建一个Reflection Probe,然后利用Lighting Bake出来一个Cubemap"); EditorUIHelper.Space(); _camera = EditorUIHelper.ObjectField <Camera>(_camera, "摄像机", true); _cubemap = EditorUIHelper.ObjectField <Cubemap>(_cubemap, "Cubemap", true); _probe = EditorUIHelper.ObjectField <ReflectionProbe>(_probe, "ReflectionProbe", true); EditorUIHelper.Space(); EditorUIHelper.Button("生成Legacy", GenerateLegacyCubemap); EditorUIHelper.Button("生成", GenerateCubemap); }