Skip to content

decentraland/ClearScript

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Description

This is a fork of ClearScript that was made for Decentraland, a Unity game. ClearScript is a library that makes it easy to add scripting to your .NET applications. It currently supports JavaScript (via V8 and JScript) and VBScript.

Differences from Upstream

  • Additional unsafe APIs unfit for upstream
  • A tool to generate a Unity package, and the package itself
  • Only JavaScript is supported
  • x86 is not supported
  • COM is not supported
  • The Linux native library is built with glibc 2.31 (Ubuntu 22.04)

Installation

Add this line to your manifest.json:

"org.decentraland.clearscript": "https://github.com/decentraland/ClearScript.git?path=/Unity/Package",

Notes for Maintiners

After you make a change, you must run the Build Unity package job, commit the Package part of its output, and upload the Symbols part of it to Google Drive to a subfolder named after the commit hash of the squash merge commit to the master branch. TODO: Automate this step away.

If you accidentally have the Decentraland client depend on a commit in a branch that is not the master branch, add that branch to the branch protection rule to ensure it is never deleted or force pushed, else we will have commits in the client's history that cannot be built.

Documentation

Acknowledgments

We'd like to thank:

About

A Unity package for adding JavaScript to games.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 91.8%
  • C++ 6.4%
  • JavaScript 1.4%
  • Batchfile 0.1%
  • C 0.1%
  • Makefile 0.1%
  • Other 0.1%