Add init and configure event to AppBase#8188
Add init and configure event to AppBase#8188lucaheft wants to merge 4 commits intoplaycanvas:mainfrom
Conversation
mvaligursky
left a comment
There was a problem hiding this comment.
How strange the events are not documented. I'll put on my list to document.
Please document yours though - see how these are done:
Lines 32 to 81 in 25effe0
|
|
|
I see, not sure how to go forward with this. How about we only add init event for now? |
I think if you name second event as |
|
I just tried this out and it seems like when launching in the editor (use_local_engine), these events are not called. However when downloading they work correctly. I guess there is some custom editor startup which doesn't call init and configure of the AppBase? In my test I subscribed to the events in the loadingscreen |
Description
Adds 2 new generic events to AppBase
init -> Fired after AppBase.init
configure -> Fired after successfull AppBase.configure
I've noticed, that there are no jsdocs for events in AppBase, if desired I can add those as well
If this gets merged we also want to reflect these changes on the developer site Application Lifecycle
Checklist