Пример #1
0
            internal static _EditorDisabled EditorDisabled()
            {
                if (_EditorDisabledFunc == null)
                {
                    _EditorDisabledFunc =
                        (_EditorDisabled)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnEditManager_editorDisabled"), typeof(_EditorDisabled));
                }

                return(_EditorDisabledFunc);
            }
Пример #2
0
            internal static _EditorDisabled EditorDisabled()
            {
                if (_EditorDisabledFunc == null)
                {
                    _EditorDisabledFunc =
                        (_EditorDisabled)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnEditManager_editorDisabled"), typeof(_EditorDisabled));
                }

                return(_EditorDisabledFunc);
            }