Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
130 views
in Technique[技术] by (71.8m points)

node.js - Is it possible to execute Typescript code inside of Unity?

I have this project that has a frontend based in React and PixiJS, a server in NodeJS, and a module that exists in both (called "state") to ensure that actions made locally match the expected output on the server.

I was thinking that I'd like to move the frontend into Unity, but the "state" module poses a problem. I definitely still need to be able to use it locally, but I'd like to avoid keeping both a C# and a Typescript version of the same stuff, and having to update both whenever I make changes.

So I was simply wondering if I could somehow still somehow use that Typescript module from within Unity (or if you prefer, from within C# generally), or am I out of luck?

Thanks!

question from:https://stackoverflow.com/questions/65925259/is-it-possible-to-execute-typescript-code-inside-of-unity

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...