コード例 #1
0
            internal static _IsDirty IsDirty()
            {
                if (_IsDirtyFunc == null)
                {
                    _IsDirtyFunc =
                        (_IsDirty)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnPersistenceManager_isDirty"), typeof(_IsDirty));
                }

                return(_IsDirtyFunc);
            }
コード例 #2
0
            internal static _IsDirty IsDirty()
            {
                if (_IsDirtyFunc == null)
                {
                    _IsDirtyFunc =
                        (_IsDirty)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnForest_isDirty"), typeof(_IsDirty));
                }

                return(_IsDirtyFunc);
            }