internal static _LoadVars LoadVars()
            {
                if (_LoadVarsFunc == null)
                {
                    _LoadVarsFunc =
                        (_LoadVars)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiVariableInspector_loadVars"), typeof(_LoadVars));
                }

                return(_LoadVarsFunc);
            }
Exemplo n.º 2
0
            internal static _LoadVars LoadVars()
            {
                if (_LoadVarsFunc == null)
                {
                    _LoadVarsFunc =
                        (_LoadVars)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiVariableInspector_loadVars"), typeof(_LoadVars));
                }

                return(_LoadVarsFunc);
            }