Beispiel #1
0
 protected override Tween DOPlay()
 {
     if (null == m_Camera)
     {
         return(null);
     }
     // end if
     if (m_strengthVec == null || m_strengthVec == Vector3.zero)
     {
         return(m_Camera.DOShakeRotation(m_duration, m_strength, m_vibrato, m_randomness, m_fadeOut));
     } // end if
     return(m_Camera.DOShakeRotation(m_duration, m_strengthVec, m_vibrato, m_randomness, m_fadeOut));
 }