Tuesday, October 18, 2022
HomeGame DevelopmentConstruct Extension, Catch Construct Fail - Cocos Creator

Construct Extension, Catch Construct Fail – Cocos Creator


Good day, I’m a Korean developer.
I created a plug-in that makes use of construct extensions to erase recordsdata when constructing a mission after which restore them to their unique state after the construct is full.

My downside is, my plug-in works completely, but when the construct fails, I received’t return the recordsdata I deleted.

Searching the doc doesn’t present a method to deal with the construct failure.

What ought to I do?


my cocos creator model is 3.6.1

i can’t discovered onError callback

image
cocos-build-template.zip (219.4 KB)
I created the plugin immediately by right here immediately

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments