UnityEditor.TickTimerHelper.Reset C# (CSharp) Method

Reset() public method

public Reset ( ) : void
return void
        public void Reset()
        {
            this.m_NextTick = 0.0;
        }
    }

Usage Example

示例#1
0
        void OnPauseOrPlayModeStateChanged()
        {
            m_Ticker.Reset();  // ensures immediate tick on play mode change
            if (m_Controller != null)
            {
                Repaint();
            }

            EndRenaming();
        }