Beispiel #1
0
            internal static _AddCategory AddCategory()
            {
                if (_AddCategoryFunc == null)
                {
                    _AddCategoryFunc =
                        (_AddCategory)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiPopUpMenuCtrlEx_addCategory"), typeof(_AddCategory));
                }

                return(_AddCategoryFunc);
            }
Beispiel #2
0
            internal static _AddCategory AddCategory()
            {
                if (_AddCategoryFunc == null)
                {
                    _AddCategoryFunc =
                        (_AddCategory)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiPopUpMenuCtrlEx_addCategory"), typeof(_AddCategory));
                }

                return(_AddCategoryFunc);
            }