New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ng-unity

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-unity

this project is purposed to allow an integration with unity webgl application in component angular 4 easily.

latest
npmnpm
Version
0.0.4
Version published
Maintainers
1
Created
Source

introduction

this project is purposed to allow an integration with unity webgl application in component angular 4 easily.

User side

unity side

  • make an amazing unity application
  • build your application in webgl, please use webassembly for test and performance purpose

angular side

  • create an application angular 4 ng new myIncredibleApplication

  • import this module npm install ng-unity

  • use the directive to add your app in your dom model

  • copy build.json & *.unityweb file generated by unity inside your assets project, be sure the path in build.json refers to path for unityweb files

  • build your angular application

  • start your application & enjoy

you can find an example on the repository https://github.com/cHullaert/unity-tester

Dev' side

Pack the component

npm run packagr that will create a dist package of the component

publish to npm

npm publish

FAQs

Package last updated on 22 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts