Initial Commit: CC - SpoonLib - Key Up (kc90uwmw6y.js)

beta.r3js.org
-=yb4f310 2018-01-15 18:07:38 +01:00
parent 593a13df76
commit 1424ac7626
1 changed files with 29 additions and 0 deletions

29
kc90uwmw6y.js Normal file
View File

@ -0,0 +1,29 @@
if (!this.entityLoaded) {
return;
}
if (!this.initialized) {
this.textCanvas = this.entityLoaded.textCanvas;
this.textTexture = this.entityLoaded.textTexture;
this.initialized = true;
}
var context = this.textCanvas.instance.getContext('2d');
context.textBaseline = "middle";
context.clearRect(0, 0, this.canvas.width, this.canvas.height);
/**
* Write text
*/
context.fillStyle = '#3db5e6';
context.font = '20pt BkBold';
context.fillText('NEXT TILES', 23, 52);
this.textTeture.instance.needsUpdate = true;
return null;
//@ sourceURL=CustomCodeKeyUp.js