Esempio n. 1
0
        /// <summary>
        /// Initializes a new Session
        /// </summary>
        /// <param name="AutoStart">(optional) also start the set automatically</param>
        public void StartSession(bool AutoStart = false)
        {
            Debug.Log("Session Starting");
            currentSetCount    = 0;
            currentBreathCount = 0;
            timeBreathpaused   = 0;
            isSessionStarted   = true;

            SessionStarted?.Invoke(this);

            if (AutoStart)
            {
                StartSet();
            }
        }