Ejemplo n.º 1
0
            internal static void apply(IntPtr thisPtr, [MarshalAs(UnmanagedType.LPWStr)] string newValue, bool callbacks)
            {
                if (_applyFunc == null)
                {
                    _applyFunc =
                        (_apply)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                           "fn_GuiInspectorField_apply"), typeof(_apply));
                }

                _applyFunc(thisPtr, newValue, callbacks);
            }
Ejemplo n.º 2
0
            internal static void apply(IntPtr thisPtr)
            {
                if (_applyFunc == null)
                {
                    _applyFunc =
                        (_apply)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                           "fn_GuiInspector_apply"), typeof(_apply));
                }

                _applyFunc(thisPtr);
            }