示例#1
0
            internal static _SetDirty SetDirty()
            {
                if (_SetDirtyFunc == null)
                {
                    _SetDirtyFunc =
                        (_SetDirty)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnPersistenceManager_setDirty"), typeof(_SetDirty));
                }

                return(_SetDirtyFunc);
            }
示例#2
0
            internal static _SetDirty SetDirty()
            {
                if (_SetDirtyFunc == null)
                {
                    _SetDirtyFunc =
                        (_SetDirty)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnComponent_setDirty"), typeof(_SetDirty));
                }

                return(_SetDirtyFunc);
            }