FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

shysolocup/unityscript: A JavaScript-to-C# Compiler for Unity · GitHub

Latest commit

 

History

358 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


UnityScript is an early access JavaScript to C# compiler and API wrapper package for the game engine Unity

⚠️ PLEASE NOTE: this package is currently in early access and is far from finished ⚠️


Installations

stable release versions are on npm

experimental versions are on github

npm install unityscript
npm install paishee/unityscript      




const { Workspace } = require('unityscript');
const workspace = new Workspace();


workspace.on("ready", (ctx) => {
    const scene = ctx.scenes.first();

    let cube = scene.spawn(Cube, "cubert", {
        localPosition: { x: 5, y: 5, z: 5 },
    });
});


workspace.open("C:/Users/owner/MyProject");

Disclaimer

this project is created out of pure boredom and coolness
this project and the developers behind it are:

  • not associated with Unity or its developers
  • not responsible for anything created



Collaborators


paishee


penguin dev


Back | FazBrowse Home | New Git URL