0 votes

I know this question is crazy, but Godot have C# so..

for example,

1) Unity -> Godot
Nreal dev-kit support unity only.
is it possible to porting? (even if translate script)


2) Godot -> Unity
unity has no Websocket (but csharp has. just wonder)
is it possible to use godot-mono's Websocket on Unity?

I know this question is crazy, but .....
wonder you guys ideas and opinions :)

Godot version Godot-3.3.4-stable.arch_linux
in Engine by (57 points)

1 Answer

+1 vote
Best answer

Godot currently cannot be compiled and used as a library, so the ways for unity to use something out of godot, without making changes to the engine, is using common inter process comunication techniques: You could make a script for godot that listens and responds to requests on a network port, or you could execute it from the command line and capture the process standard output or use some file in the filesystem as means for data exchange.

On the other hand, Unity can be used as a library (even though I don't know any detail beyond this statement):


It probably is a C++ library, not a .net one, so you would have to use gdnative/gdextension, create a module or change the godot engine in order to use unity as a library for something.

by (268 points)
selected by

Sounds like Godot -> Unity (probably No, but can use with side-work) / Unity -> Godot (there is some hard way, Yes)
self-network-communication and running with command line is very interesting ways, thank you for your ideas

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.