示例#1
0
            internal static IntPtr attribute(IntPtr thisPtr, [MarshalAs(UnmanagedType.LPWStr)] string attributeName)
            {
                if (_attributeFunc == null)
                {
                    _attributeFunc =
                        (_attribute)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                               "fn_SimXMLDocument_attribute"), typeof(_attribute));
                }

                return(_attributeFunc(thisPtr, attributeName));
            }
 set => SetProperty(ref _attribute, value);