internal static _AddField AddField()
            {
                if (_AddFieldFunc == null)
                {
                    _AddFieldFunc =
                        (_AddField)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiVariableInspector_addField"), typeof(_AddField));
                }

                return(_AddFieldFunc);
            }
Пример #2
0
            internal static _AddField AddField()
            {
                if (_AddFieldFunc == null)
                {
                    _AddFieldFunc =
                        (_AddField)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiVariableInspector_addField"), typeof(_AddField));
                }

                return(_AddFieldFunc);
            }