You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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");
}
}
}`
The text was updated successfully, but these errors were encountered:
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;
}`
The text was updated successfully, but these errors were encountered: