In pixijs project, i want to create class component that extends Spine, but it gives me an error “Uncaught Error: The spineData param is required.”
Here is an example:
export class TargetView extends Spine {
constructor() {
super();
this.spineData = RESOURCES.getSpineData("shooting");
}
}
I tried to pass spineData when creating class
target = new TargetView("spinedata);
New contributor
OverLord GM is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.