Пример #1
0
            internal static _Attach Attach()
            {
                if (_AttachFunc == null)
                {
                    _AttachFunc =
                        (_Attach)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiWindowCtrl_attach"), typeof(_Attach));
                }

                return(_AttachFunc);
            }
Пример #2
0
            internal static _Attach Attach()
            {
                if (_AttachFunc == null)
                {
                    _AttachFunc =
                        (_Attach)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnPhysicsForce_attach"), typeof(_Attach));
                }

                return(_AttachFunc);
            }