Convert Game C# to Unity ?

Hello,

Excuse my English I will try to make myself understood at best.

I had to project to convert fully a set of C + + to C # (and it was not easy) Out now they ask me to wear the C # code on Unity and structure of Unity puzzles me, I find no tutorial on how to succeed in adapting the C # code to that of Unity.

It seems, as I understand, that all calls to the drawing and must be input in the update, but I have no details and I miss probably other info, would you have at your disposal something to help me?

Thanking you in advance

What is the structure of your current game engine?

Unity, while a bliss to use, does require a fair bit of knowledge before one can make full games in it.

Salut :slight_smile:

Well i think that first you need consider get out your logic part of the game and detach it from your engine rendering stuff, cause you wont need that at all, unity care about for you.

Then you may spend bit of time understand composition , components way of work so you can eventually rewrite your actual code to fit unity workflow.

Ah ah, t’es partout Giyomu B)

The game / engine is a script reader. It allows the graphics, the development of scripts and the launch of the game The game engine itself does not support any element of play scripts, convert, manage all the interactions.

I am aware but I am NPSF3000 trainee (student) in a company and I was left no choice but to take the time to understand everything, and given that porting a game to go under the unity n is not aware, I have not much the doc above.

Are you converting the ‘script reader’ to unity3d, or just a game that uses it?


I suggest going through some unity tutorials to get a sense of how the engine works. I normally recommend:

http://www.unity3dstudent.com/
http://www.3dbuzz.com/vbforum/content.php?176
http://forum.unity3d.com/threads/37093-Over-7-hours-of-Unity-Training-Videos-Download-them-now!

Though there are many others - including published books should you be interested.

I converted the Script reader the c + + to C # and now, I still have to see how to adapt the code to be compatible with Unity and that I can debug