Skip to content

Commit

Permalink
fixed override methods
Browse files Browse the repository at this point in the history
  • Loading branch information
TomSimons committed Oct 16, 2024
1 parent cdaaa46 commit 5f290bd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Assets/Scripts/Layers/LayerTypes/Tile3DLayerGameObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 5f290bd

Please sign in to comment.