0.0.8 • Published 1 year ago

unityscript v0.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

dear penguins: => ( I KNOW IT'S A TRANSPILER NOT A COMPILER NERD SILENCE )


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](https://npmjs.com/package/unityscript)

experimental versions are on [github](https://github.com/paishee/unityscript)

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

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.3

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago