Пример #1
0
            internal static _SetUserData SetUserData()
            {
                if (_SetUserDataFunc == null)
                {
                    _SetUserDataFunc =
                        (_SetUserData)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnEngineObject_setUserData"), typeof(_SetUserData));
                }

                return(_SetUserDataFunc);
            }
Пример #2
0
            internal static _SetUserData SetUserData()
            {
                if (_SetUserDataFunc == null)
                {
                    _SetUserDataFunc =
                        (_SetUserData)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnEngineObject_setUserData"), typeof(_SetUserData));
                }

                return(_SetUserDataFunc);
            }