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(); } }
Did you find this page useful? Please give it a rating: