Giter VIP home page Giter VIP logo

Comments (5)

CodeMyst avatar CodeMyst commented on June 12, 2024

That wouldn't really work because a lot of scripts will depend on the UnityEngine or UnityEditor assembly.

You could get them by compiling a blank unity project but I'm not sure it will work. The project is a .Net Core project and Unity is .Net Standard 4.x (there might be a .Net Framework 2.0 which you can use with .Net Core but I'm not sure if unity has that). So you'd need to create bindings.

This is definitely a good idea, need further investigation.

from brackeys-bot.

yiliansource avatar yiliansource commented on June 12, 2024

That's true. What about syntax checking? Syntax checking is possible without other assemblies AFAIK.

from brackeys-bot.

CodeMyst avatar CodeMyst commented on June 12, 2024

Syntax checking is pretty trivial. Now that I think about, just compiling code wouldn't be really useful either since the one posting the code block would notice errors / warnings in their editor / unity / terminal.

from brackeys-bot.

MetalBreaker avatar MetalBreaker commented on June 12, 2024

Unity doesn't have .Net Standard 4.x. In fact, .NET Standard 4.x doesn't even exist.
Unity has three options:
.NET Framework 3.5
.NET Framework 4.6
.NET Standard 2.0
The third one is usable with .NET Core. Just saying :p
I guess runtime compilation would be dangerous as well. We don't really have a way to sandbox the application so.... it can pretty much do whatever it wants. That would be a remote code execution vulnerability.

from brackeys-bot.

CodeMyst avatar CodeMyst commented on June 12, 2024

I missed up Framework and Standard :P

from brackeys-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.