示例#1
0
            internal static _SetDataBlock SetDataBlock()
            {
                if (_SetDataBlockFunc == null)
                {
                    _SetDataBlockFunc =
                        (_SetDataBlock)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGameBase_setDataBlock"), typeof(_SetDataBlock));
                }

                return(_SetDataBlockFunc);
            }
示例#2
0
            internal static _SetDataBlock SetDataBlock()
            {
                if (_SetDataBlockFunc == null)
                {
                    _SetDataBlockFunc =
                        (_SetDataBlock)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGameBase_setDataBlock"), typeof(_SetDataBlock));
                }

                return(_SetDataBlockFunc);
            }