+2
@@ -95,6 +95,7 @@ namespace AZ
|
|||||||
|
|
||||||
void EditorMaterialSystemComponent::Activate()
|
void EditorMaterialSystemComponent::Activate()
|
||||||
{
|
{
|
||||||
|
AZ::EntitySystemBus::Handler::BusConnect();
|
||||||
EditorMaterialSystemComponentNotificationBus::Handler::BusConnect();
|
EditorMaterialSystemComponentNotificationBus::Handler::BusConnect();
|
||||||
EditorMaterialSystemComponentRequestBus::Handler::BusConnect();
|
EditorMaterialSystemComponentRequestBus::Handler::BusConnect();
|
||||||
AzToolsFramework::AssetBrowser::AssetBrowserInteractionNotificationBus::Handler::BusConnect();
|
AzToolsFramework::AssetBrowser::AssetBrowserInteractionNotificationBus::Handler::BusConnect();
|
||||||
@@ -106,6 +107,7 @@ namespace AZ
|
|||||||
|
|
||||||
void EditorMaterialSystemComponent::Deactivate()
|
void EditorMaterialSystemComponent::Deactivate()
|
||||||
{
|
{
|
||||||
|
AZ::EntitySystemBus::Handler::BusDisconnect();
|
||||||
EditorMaterialSystemComponentNotificationBus::Handler::BusDisconnect();
|
EditorMaterialSystemComponentNotificationBus::Handler::BusDisconnect();
|
||||||
EditorMaterialSystemComponentRequestBus::Handler::BusDisconnect();
|
EditorMaterialSystemComponentRequestBus::Handler::BusDisconnect();
|
||||||
AzToolsFramework::AssetBrowser::AssetBrowserInteractionNotificationBus::Handler::BusDisconnect();
|
AzToolsFramework::AssetBrowser::AssetBrowserInteractionNotificationBus::Handler::BusDisconnect();
|
||||||
|
|||||||
Reference in New Issue
Block a user