简体   繁体   中英

Can I expose Unity scene as a webservice?

I need to integrate Unity in my application. Can I expose unity scene as a web service and use in my hybrid mobile app? I create one zoom in zoom out functionality in unity. and need to call this functionality in hybrid app. How is this possible?

I need to take picture from camera through my hybrid app and need to pass this image to unity and zoom in zoom out functionality will work ... How is it possible? How can expose my unity project as web service?

Any help appreciated

Thank you

Using C#, you could use an HttpListener :

https://msdn.microsoft.com/fr-fr/library/system.net.httplistener(v=vs.110).aspx

I used that for a custom terminal to interact with my build. Worked as expected.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM