I’ve moved from 2.x to three.x
I’m utilizing director.getScheduler().pauseTarget(this.targetNode) — the place this.targetNode — was node in 2.x
However in 3.x it says it must be ISchedulable. then anybody assist me out methods to use it
director.getScheduler().pauseTarget(nodeComponent)
do that
right here this.targetNode is already a node what u imply by nodeComponent,
and declaration file say it param move must be of ISchedule
sort
Thanks
director.getScheduler().pauseTarget(this.targetNode);
Additionally it is working once I outline sort of targetNode it was utilizing HTML node as a substitute of Cocos Node
corrected the import now it’s working tremendous/
Thanks for help