Example #1
0
            internal static _FreeReference FreeReference()
            {
                if (_FreeReferenceFunc == null)
                {
                    _FreeReferenceFunc =
                        (_FreeReference)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnMessage_freeReference"), typeof(_FreeReference));
                }

                return(_FreeReferenceFunc);
            }
Example #2
0
            internal static _FreeReference FreeReference()
            {
                if (_FreeReferenceFunc == null)
                {
                    _FreeReferenceFunc =
                        (_FreeReference)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnMessage_freeReference"), typeof(_FreeReference));
                }

                return(_FreeReferenceFunc);
            }