1.0.0 • Published 7 years ago

bluebird-defer-polyfill v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Introduction

Creates a promise for a game time delay in PlayCanvas

Installation

npm install --save playcanvas-delay

Usage

import delay from 'playcanvas-delay'

...

await delay(0.5 * 1000);

delay(6000).then(function() { ... }); 

Requirements

Requires PlayCanvas Engine to be running on the page. Uses ES6/Babel/PlayCanvas template.

1.0.0

7 years ago