Using code found here https://steamworks.github.io/gettingstarted/ This only works for the Steam button, but not for the Quick Settings button. Is there another callback that should be used to detect the QuickSettings button overlay?
Example
`public class SteamScript : MonoBehaviour {
protected Callback<GameOverlayActivated_t> m_GameOverlayActivated;
private void OnEnable() {
if (SteamManager.Initialized) {
m_GameOverlayActivated = Callback<GameOverlayActivated_t>.Create(OnGameOverlayActivated);
}
}
private void OnGameOverlayActivated(GameOverlayActivated_t pCallback) {
if(pCallback.m_bActive != 0) {
Debug.Log("Steam Overlay has been activated");
}
else {
Debug.Log("Steam Overlay has been closed");
}
}
}`