- Home /
Is it okay to use both c# and javascript in one scene or game?
I am making a game and I have car controller Script in javascript but I have used c# sharp for menu and other things. So is it okay to use both c# and javascript.
Comment
Answer by tanoshimi · Mar 08, 2015 at 10:15 AM
It will work (both will get compiled to CIL anyway) - but it's not recommended if you need your scripts to interact with each other at all - accessing JS variables from the C# script and vice-versa.
Please mark your question as answered so others can find it.