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

ScriptableRuntimeReflectionSystemSettings.system

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(); } }
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答