Пример #1
0
            internal static _RemoveDynamicObject RemoveDynamicObject()
            {
                if (_RemoveDynamicObjectFunc == null)
                {
                    _RemoveDynamicObjectFunc =
                        (_RemoveDynamicObject)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnScene_removeDynamicObject"), typeof(_RemoveDynamicObject));
                }

                return(_RemoveDynamicObjectFunc);
            }
Пример #2
0
            internal static _RemoveDynamicObject RemoveDynamicObject()
            {
                if (_RemoveDynamicObjectFunc == null)
                {
                    _RemoveDynamicObjectFunc =
                        (_RemoveDynamicObject)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnScene_removeDynamicObject"), typeof(_RemoveDynamicObject));
                }

                return(_RemoveDynamicObjectFunc);
            }