diff --git a/Assets/Scripts/Layers/LayerTypes/Tile3DLayerGameObject.cs b/Assets/Scripts/Layers/LayerTypes/Tile3DLayerGameObject.cs index 022eff48..9e27364f 100644 --- a/Assets/Scripts/Layers/LayerTypes/Tile3DLayerGameObject.cs +++ b/Assets/Scripts/Layers/LayerTypes/Tile3DLayerGameObject.cs @@ -65,14 +65,16 @@ protected void Awake() propertySections = new(); } - private void OnEnable() + protected override void OnEnable() { + base.OnEnable(); tileSet.unsupportedExtensionsParsed.AddListener(InvokeUnsupportedExtensionsMessage); OnServerResponseReceived.AddListener(ProcessServerResponse); } - private void OnDisable() + protected override void OnDisable() { + base.OnDisable(); tileSet.unsupportedExtensionsParsed.RemoveListener(InvokeUnsupportedExtensionsMessage); OnServerResponseReceived.RemoveListener(ProcessServerResponse); }