예제 #1
0
            internal static _GetInspectObject GetInspectObject()
            {
                if (_GetInspectObjectFunc == null)
                {
                    _GetInspectObjectFunc =
                        (_GetInspectObject)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiInspector_getInspectObject"), typeof(_GetInspectObject));
                }

                return(_GetInspectObjectFunc);
            }
예제 #2
0
            internal static _GetInspectObject GetInspectObject()
            {
                if (_GetInspectObjectFunc == null)
                {
                    _GetInspectObjectFunc =
                        (_GetInspectObject)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiInspector_getInspectObject"), typeof(_GetInspectObject));
                }

                return(_GetInspectObjectFunc);
            }