NFT Game object link with minted NFT in any marketplace

Hi Team ,
I want to link my game objects in unity to open sea. For eg: I have a game object car and the same car has been minted by me as an nft in open sea. Now if the user buys that nft from open sea it can somehow link to the car in the game so that he can use it to play. please help me on this how should i do this??

If this OpenSea NFT is on-chain, you can use NFT ownership to determine what the user can use.

The user buys this NFT, you check that they own it, if they do, then give access to a β€œcar” that user can use.

so should i use this code :\

using MoralisUnity;
using MoralisUnity.Web3Api.Models;
using UnityEngine;

public class Example
{
public async void fetchNFTOwners()
{
NftOwnerCollection nftowners = await Moralis.Web3Api.Token.GetNFTOwners(address: β€œ0x7de3085b3190b3a787822ee16f23be010f5f8686”, ChainList.eth);
Debug.Log(nftowners.ToJson());
}
}

It would be better to use getNFTs with the token_address parameter which is an array of strings (it is not documented).

This gets all the NFTs owned by a particular address with the results filtered to one or more token contract addresses.