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

ScriptableRuntimeReflectionSystemSettings.system

Switch to Manual

Description

The current scriptable runtime reflection system instance.

Set this property in a method with RuntimeInitializeOnLoadMethodAttribute with your own implementation.

using UnityEngine;
using UnityEngine.Experimental.Rendering;

// Empty ScriptableRuntimeReflectionSystem for the exemple class CustomScriptableRuntimeReflectionSystem : ScriptableRuntimeReflectionSystem {}

class CustomScriptableRuntimeReflectionSystemIntegration { [RuntimeInitializeOnLoadMethod] static void Initialize() { ScriptableRuntimeReflectionSystemSettings.system = new CustomScriptableRuntimeReflectionSystem(); } }