示例#1
0
            internal static _GetInspectedFieldName GetInspectedFieldName()
            {
                if (_GetInspectedFieldNameFunc == null)
                {
                    _GetInspectedFieldNameFunc =
                        (_GetInspectedFieldName)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiInspectorField_getInspectedFieldName"), typeof(_GetInspectedFieldName));
                }

                return(_GetInspectedFieldNameFunc);
            }
            internal static _GetInspectedFieldName GetInspectedFieldName()
            {
                if (_GetInspectedFieldNameFunc == null)
                {
                    _GetInspectedFieldNameFunc =
                        (_GetInspectedFieldName)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiInspectorField_getInspectedFieldName"), typeof(_GetInspectedFieldName));
                }

                return(_GetInspectedFieldNameFunc);
            }