public static void SetSessionState(bool state) { //UnityEngine.Debug.Log ("Session state set to: " + state); inSession = state; }