예제 #1
0
            internal static _AddReference AddReference()
            {
                if (_AddReferenceFunc == null)
                {
                    _AddReferenceFunc =
                        (_AddReference)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnMessage_addReference"), typeof(_AddReference));
                }

                return(_AddReferenceFunc);
            }
예제 #2
0
            internal static _AddReference AddReference()
            {
                if (_AddReferenceFunc == null)
                {
                    _AddReferenceFunc =
                        (_AddReference)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnMessage_addReference"), typeof(_AddReference));
                }

                return(_AddReferenceFunc);
            }