// // /*=============================================================================== // // Copyright (C) 2025 PhantomsXR Ltd. All Rights Reserved. // // // // This file is part of the Phantom.XRMOD.UnityFusion.Runtime.CodeHook. // // // // The VisionOSPlatform cannot be copied, distributed, or made available to // // third-parties for commercial purposes without written permission of PhantomsXR Ltd. // // // // Contact info@phantomsxr.com for licensing requests. // // ===============================================================================*/ using System.Reflection; namespace Phantom.XRMOD.UnityFusion.Runtime.CodeHook { public class MakeSureGenericValue:IBaseMakeSureValueAction { public bool MakeSureValue(ref FieldInfo _fieldInfo, object _target, object _value) { _fieldInfo.SetValue(_target, _value); return true; } } }