Skip to content
t1st3Public

About

Check if the current session runs Unity desktop

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

55 Commits

Folders and files

Repository files navigation

is-unity Build Status Travis

Check if the current session runs Unity desktop.

Install

$ npm install --save is-unity

Usage

const isUnity = require('is-unity');

isUnity.then(data => {
  console.log(data);
  //=> true or false
});

API

isUnity()

Returns a Promise that resolves either to true or false.

Related

License

MIT © t1st3

About

Check if the current session runs Unity desktop

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages