Version: 2019.3
Experimental: this API is experimental and might be changed or removed in the future.

ScriptableBakedReflectionSystemSettings.system

マニュアルに切り替える

説明

The currently active ScriptableBakedReflectionSystem, see IScriptableBakedReflectionSystem.

Set this property in a class with InitializeOnLoadAttribute or a method with InitializeOnLoadMethodAttribute with your own implementation.

using UnityEditor;
using UnityEditor.Experimental.Rendering;

// Empty ScriptableBakedReflectionSystem for the exemple class CustomScriptableBakedReflectionSystem : ScriptableBakedReflectionSystem { public CustomScriptableBakedReflectionSystem() : base(1) { } }

class CustomScriptableBakedReflectionSystemIntegration { [InitializeOnLoadMethod] static void Initialize() { ScriptableBakedReflectionSystemSettings.system = new CustomScriptableBakedReflectionSystem(); } }