Fix LyShine instance not being initialized (#1078)
This commit is contained in:
@@ -157,6 +157,7 @@ namespace LyShine
|
||||
UiSystemBus::Handler::BusConnect();
|
||||
UiSystemToolsBus::Handler::BusConnect();
|
||||
UiFrameworkBus::Handler::BusConnect();
|
||||
CrySystemEventBus::Handler::BusConnect();
|
||||
|
||||
// register all the component types internal to the LyShine module
|
||||
// These are registered in the order we want them to appear in the Add Component menu
|
||||
@@ -201,6 +202,7 @@ namespace LyShine
|
||||
UiSystemToolsBus::Handler::BusDisconnect();
|
||||
UiFrameworkBus::Handler::BusDisconnect();
|
||||
LyShineRequestBus::Handler::BusDisconnect();
|
||||
CrySystemEventBus::Handler::BusDisconnect();
|
||||
|
||||
LyShineAllocatorScope::DeactivateAllocators();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user