Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

We need help!!

Discussion in 'General Discussion' started by garciamjade, Mar 13, 2023.

  1. garciamjade

    garciamjade

    Joined:
    Dec 6, 2022
    Posts:
    2
    Hi! Good day Guys,

    We are 4th year students trying to build an android app using unity, but we need to embed or add a language compiler or interpreter so users can do live coding while they use the android application we made? is this possible in unity?

    Hoping for positive response. Thank you!
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,971
    Everything is possible, but it is a lot of hard work, without many having experience with it.
     
  3. garciamjade

    garciamjade

    Joined:
    Dec 6, 2022
    Posts:
    2
    Is there a link or a thread I can be directed to for further guidance? Will really appreciate it, Thank you!
     
  4. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,971
  5. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,350
  6. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    5,533
    Yeah I would also recommend a scripting language, preferably Lua. You will find a solution on the store as well as github and even taking a general C# wrapper for Lua and make it work (if at all necessary) within Unity is within reach.
     
    Ryiah and TonyLi like this.
  7. TonyLi

    TonyLi

    Joined:
    Apr 10, 2012
    Posts:
    12,670
    Seconding the suggestions on Lua or MiniScript. Lua may be familiar to users who already have experience modding games. If you don't think there's an overlap between modders and your app users, MiniScript is somewhat simpler to learn, easy to get working in Unity, and the author (@JoeStrout) is here on the forums.
     
    Ryiah, MadeFromPolygons and DevDunk like this.
  8. ippdev

    ippdev

    Joined:
    Feb 7, 2010
    Posts:
    3,850
    There is a Roslyn compiler on the Asset Store we leveraged to write runtime code and compile it in runtime.
     
    Ryiah likes this.
  9. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,754
    Please do respect the community, and edit the thread topic to appropriate and meaningful, rather sounding demanding, like "Need Help!!".