-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
The following ambient member is not parsed as an attribute, nor is an error raised
import { Script } from 'playcanvas'
/** @enum {number} */
const Lights = {
ON: 1,
OFF: 0,
UNKNOWN: 0.5
}
class Hack extends Script {
/**
* @attribute
* @type {Lights}
*/
ambient = Lights.OFF
}
export { Hack };Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working