Пример #1
0
            internal static _IsEditorEnabled IsEditorEnabled()
            {
                if (_IsEditorEnabledFunc == null)
                {
                    _IsEditorEnabledFunc =
                        (_IsEditorEnabled)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnEditManager_isEditorEnabled"), typeof(_IsEditorEnabled));
                }

                return(_IsEditorEnabledFunc);
            }
Пример #2
0
            internal static _IsEditorEnabled IsEditorEnabled()
            {
                if (_IsEditorEnabledFunc == null)
                {
                    _IsEditorEnabledFunc =
                        (_IsEditorEnabled)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnEditManager_isEditorEnabled"), typeof(_IsEditorEnabled));
                }

                return(_IsEditorEnabledFunc);
            }