Visual c# and Unity

Is there any way at all to kind of have Unity game in Visual c# form and when i click a button added in that form it would do something in game?

Let me know if it’s not clear enough and you want better explanation of what I mean lol.

the only way to use unity outside is basically through a webview embed and then communicate in. But unity does not support or offer functionalities to use it as an sdk to form the visual aspect within a native application

So if I embedded the web build of my game in the visual c# form, how would I go on about making the communication between visual c# components like buttons and the game?

c# → webviews js → unity webplayer
the vice versa potentially works too, don’t know

JavaScript can communicate back to a Winforms app. Though I’ve never tried embedding Unity into the WebBrowser control, I guess it would work.