예제 #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);
            }