ScriptableRuntimeReflectionSystemSettings.system
Экспериментальный: это API экспериментально и может быть изменено или удалено в будущем.
Declaration
public static Experimental.Rendering.IScriptableRuntimeReflectionSystem system;Описание
Текущий скриптовый экземпляр системы отражения времени выполнения.
Установите это свойство в методе с RuntimeInitializeOnLoadMethodAttribute в вашей собственной реализации.
using UnityEngine; using UnityEngine.Experimental.Rendering;
// Empty ScriptableRuntimeReflectionSystem for the exemple class CustomScriptableRuntimeReflectionSystem : ScriptableRuntimeReflectionSystem {}
class CustomScriptableRuntimeReflectionSystemIntegration { [RuntimeInitializeOnLoadMethod] static void Initialize() { ScriptableRuntimeReflectionSystemSettings.system = new CustomScriptableRuntimeReflectionSystem(); } }