Exemplo n.º 1
0
            internal static _GetSelectedPath GetSelectedPath()
            {
                if (_GetSelectedPathFunc == null)
                {
                    _GetSelectedPathFunc =
                        (_GetSelectedPath)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiFileTreeCtrl_getSelectedPath"), typeof(_GetSelectedPath));
                }

                return(_GetSelectedPathFunc);
            }
Exemplo n.º 2
0
            internal static _GetSelectedPath GetSelectedPath()
            {
                if (_GetSelectedPathFunc == null)
                {
                    _GetSelectedPathFunc =
                        (_GetSelectedPath)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnVPathEditor_getSelectedPath"), typeof(_GetSelectedPath));
                }

                return(_GetSelectedPathFunc);
            }