Version: 2021.3
言語: 日本語
Experimental: this API is experimental and might be changed or removed in the future.

ScriptableRuntimeReflectionSystemSettings.system

マニュアルに切り替える

説明

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