示例#1
0
            internal static _ApplyWithoutUndo ApplyWithoutUndo()
            {
                if (_ApplyWithoutUndoFunc == null)
                {
                    _ApplyWithoutUndoFunc =
                        (_ApplyWithoutUndo)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiInspectorField_applyWithoutUndo"), typeof(_ApplyWithoutUndo));
                }

                return(_ApplyWithoutUndoFunc);
            }
            internal static _ApplyWithoutUndo ApplyWithoutUndo()
            {
                if (_ApplyWithoutUndoFunc == null)
                {
                    _ApplyWithoutUndoFunc =
                        (_ApplyWithoutUndo)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiInspectorField_applyWithoutUndo"), typeof(_ApplyWithoutUndo));
                }

                return(_ApplyWithoutUndoFunc);
            }