Esempio n. 1
0
            internal static _Destroy Destroy()
            {
                if (_DestroyFunc == null)
                {
                    _DestroyFunc =
                        (_Destroy)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnPhysicsShape_destroy"), typeof(_Destroy));
                }

                return(_DestroyFunc);
            }
Esempio n. 2
0
            internal static _Destroy Destroy()
            {
                if (_DestroyFunc == null)
                {
                    _DestroyFunc =
                        (_Destroy)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnPhysicsShape_destroy"), typeof(_Destroy));
                }

                return(_DestroyFunc);
            }