cybarian Posted September 9, 2013 Report Posted September 9, 2013 hi guys i want to ask that is unity supports python or another way to use python in unity....... Quote
Evert Posted September 9, 2013 Report Posted September 9, 2013 http://forum.unity3d.com/threads/87790-About-Python-and-Unity http://forum.unity3d.com/threads/86461-Python-interpreter-in-Unity Quote
knj Posted September 9, 2013 Report Posted September 9, 2013 dude, srsly, learn to use google, god damn ! Corwin and Sentura 2 Quote
Thrik Posted September 9, 2013 Report Posted September 9, 2013 Agreed, your questions really are very basic and could easily be answered via a quick search — literally, just Google 'unity python'. And please post these things in the 3D forum as I have to keep moving your threads there... Quote
Sjonsson Posted September 9, 2013 Report Posted September 9, 2013 Out of curiousity, why would you want to use Python in Maya? Anyone knows? Quote
knj Posted September 10, 2013 Report Posted September 10, 2013 he wants to us it in UNITY, and in maya you have MEL language and you can script your own shit Quote
Sjonsson Posted September 10, 2013 Report Posted September 10, 2013 I know that knj, but why on earth would you want to use Python in Unity? xD Quote
Thrik Posted September 10, 2013 Report Posted September 10, 2013 I've not used Unity but any scripting language is theoretically usable in any game, so if you already know one it's can save time using that rather than learning a new one (not that switching languages is too hard). Python is a very popular and good language, as is Lua. IMO though, if you're not an expert with any scripting language you should use the most widely used one for the engine so there's plenty of documentation. Using an uncommon scripting language (even if it's technically a better choice) might seem cool until you realise there's nobody out there who can help you because they don't use it. Quote
Sjonsson Posted September 10, 2013 Report Posted September 10, 2013 I'm working in Unity daily and I agree, any scripting language is indeed theoreticall usable, but the thing is that Unity has a very broad library for both C# and Java script, so I just couldn't fathom why you would want Python in Unity instead of these two langauges. Maybe there is something specific you can use Python for? I never heard of it but maybe there is. Thrik 1 Quote
Sentura Posted September 10, 2013 Report Posted September 10, 2013 Thrik that only works if you have either a wrapper or if you want to sit down and make a wrapper/compiler for those purposes. For cases such as Unity, if there weren't any wrappers I'd just switch to C# anyway because it would be simpler, have more documentation and less bugs along the way. The cool things about most languages is that they follow a paradigm, and knowing one paradigm makes you able to transition languages within that paradigm fairly fast. Corwin and Thrik 2 Quote
AlexM Posted September 12, 2013 Report Posted September 12, 2013 (edited) Using a python interpreter authored in C# seems like it could be a performance issue. C# is so easy it's usually hard to justify putting a scripting language on top of it unless you wish to update the gameplay code without restarting the game. Even then there are classes in C# to compile c# code on the fly so you could use c# as a scripting language on top of c# EDIT: I forgot to mention there's also Iron Python. Ultimately like everyone in this thread, I dont recommend it. Just use one of the existing Unity code paths. http://ironpython.net/ Edited September 12, 2013 by AlexM Thrik 1 Quote
Skjalg Posted September 12, 2013 Report Posted September 12, 2013 Haha using a python scripting system in unity is kind of weird given that mono/unityscript/boo is unitys scripting languages. And unityscript is probably even easier to learn from scratch.yo dawg, I head you like scripting languages so we put in a scripting language that compiles down to your scripting language that way you can script the script.Yeah that sounds retarded AlexM and Thrik 2 Quote
Spherix Posted September 13, 2013 Report Posted September 13, 2013 Do note, OP has not posted here since TS; yet started a new topic. I assume it's no longer of interest to the OP. Thrik 1 Quote
Thrik Posted September 13, 2013 Report Posted September 13, 2013 Do note, OP has not posted here since TS; yet started a new topic. I assume it's no longer of interest to the OP. Seems to be a recurring theme with cybarian. I'm starting to think that he's just asking these questions on behalf of someone else or has to pass some test or something, because the questions are so varied and seem to lead nowhere. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.