Пример #1
0
            internal static _AttachToObject AttachToObject()
            {
                if (_AttachToObjectFunc == null)
                {
                    _AttachToObjectFunc =
                        (_AttachToObject)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnForestWindEmitter_attachToObject"), typeof(_AttachToObject));
                }

                return(_AttachToObjectFunc);
            }
Пример #2
0
            internal static _AttachToObject AttachToObject()
            {
                if (_AttachToObjectFunc == null)
                {
                    _AttachToObjectFunc =
                        (_AttachToObject)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnForestWindEmitter_attachToObject"), typeof(_AttachToObject));
                }

                return(_AttachToObjectFunc);
            }