Skip to content

Commit

Permalink
Highlight selected resource in overlay control window
Browse files Browse the repository at this point in the history
  • Loading branch information
DMagic1 committed Aug 15, 2020
1 parent 64124cc commit 3224aa9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions SCANsat.Unity/Unity/SCAN_ResourceOverlay.cs
Expand Up @@ -60,7 +60,10 @@ public void DrawResource()
parent.SetResource(resource, active);

if (m_ResourceName != null)
{
m_ResourceName.OnColorUpdate.Invoke(parent.ActiveColor);
m_ResourceName.SetNormalColor(parent.ActiveColor);
}
}

public void Inactivate()
Expand Down

0 comments on commit 3224aa9

Please sign in to comment.