Importing NPM packages with use within Unity? #486
Unanswered
APexBlockchainDevelopments
asked this question in
Help Wanted!
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey everyone so I have a unity game that I want to interact with the web3 npm package.
My react component looks like this:
And then my Unity jslib looks like this:
However the error I'm running into is when I call that function I receive an error stating Web3 is not defined. Although in my React js component script it already is. I was curious if it's possible or maybe if I'm doing something wrong so that I can utilize the npm Web3 package and call functions with from my Unity game.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions