示例#1
0
            internal static _IsAttached IsAttached()
            {
                if (_IsAttachedFunc == null)
                {
                    _IsAttachedFunc =
                        (_IsAttached)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnPhysicsForce_isAttached"), typeof(_IsAttached));
                }

                return(_IsAttachedFunc);
            }
示例#2
0
            internal static _IsAttached IsAttached()
            {
                if (_IsAttachedFunc == null)
                {
                    _IsAttachedFunc =
                        (_IsAttached)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnPhysicsForce_isAttached"), typeof(_IsAttached));
                }

                return(_IsAttachedFunc);
            }