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

ScriptableBakedReflectionSystemSettings.system

Cambiar al Manual

Descripción

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(); } }