Esempio n. 1
0
            internal static _AddItem AddItem()
            {
                if (_AddItemFunc == null)
                {
                    _AddItemFunc =
                        (_AddItem)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnCreatorTree_addItem"), typeof(_AddItem));
                }

                return(_AddItemFunc);
            }
Esempio n. 2
0
            internal static _AddItem AddItem()
            {
                if (_AddItemFunc == null)
                {
                    _AddItemFunc =
                        (_AddItem)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnCreatorTree_addItem"), typeof(_AddItem));
                }

                return(_AddItemFunc);
            }