This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //cameraTarget is what's interesting here. Being able to have more ways to impact this variable could give us a lot more leeway to build immersive experiences in dcl. | |
| import { movePlayerTo } from '@decentraland/RestrictedActions' | |
| const respawner = new Entity() | |
| respawner.addComponent(new BoxShape()) | |
| respawner.addComponent(new Transform({ position: new Vector3(8, 0, 8) })) | |
| respawner.addComponent( | |
| new OnPointerDown( | |
| (e) => { | |
| movePlayerTo({ x: 1, y: 0, z: 1 }, { x: 8, y: 1, z: 8 }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function GetCellColorCode(input) | |
| { | |
| var ss = SpreadsheetApp.getActiveSpreadsheet(); | |
| var cell = ss.getRange(input); | |
| var result = cell.getBackground() | |
| return result | |
| } |