Example #1
0
            internal static _AddInspect AddInspect()
            {
                if (_AddInspectFunc == null)
                {
                    _AddInspectFunc =
                        (_AddInspect)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiInspector_addInspect"), typeof(_AddInspect));
                }

                return(_AddInspectFunc);
            }
Example #2
0
            internal static _AddInspect AddInspect()
            {
                if (_AddInspectFunc == null)
                {
                    _AddInspectFunc =
                        (_AddInspect)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiInspector_addInspect"), typeof(_AddInspect));
                }

                return(_AddInspectFunc);
            }