// Parameter Attributes are applied below in Resume() public void Stop(Vector3 startValue, Vector3 endValue, float time, uScript_Lerper.LoopType loopType, float loopDelay, bool smooth, int loopCount, out Vector3 currentValue) { m_Lerper.Stop( ); currentValue = m_LastValue; if (!m_Began) { currentValue = startValue; } }
// Parameter Attributes are applied below in Resume() public void Stop(int startValue, int endValue, float time, uScript_Lerper.LoopType loopType, float loopDelay, int loopCount, out int currentValue) { m_Lerper.Stop( ); currentValue = m_LastValue; if (!m_Began) { currentValue = startValue; } }
// Parameter Attributes are applied below in Resume() public void Stop(Quaternion startValue, Quaternion endValue, float time, uScript_Lerper.LoopType loopType, float loopDelay, bool smooth, int loopCount, out Quaternion currentValue) { m_Lerper.Stop( ); currentValue = m_LastValue; if (!m_Began) { currentValue = startValue; } }