Esempio n. 1
0
 /// <summary>
 /// Returns the position of the look source.
 /// </summary>
 /// <returns>The position of the look source.</returns>
 public Vector3 LookPosition()
 {
     if (m_Transitioner != null && m_Transitioner.IsTransitioning)
     {
         return(m_Transitioner.LookPosition());
     }
     return(m_ViewType.LookPosition());
 }
Esempio n. 2
0
 /// <summary>
 /// Returns the position of the look source.
 /// </summary>
 /// <param name="characterLookPosition">Is the character look position being retrieved?</param>
 /// <returns>The position of the look source.</returns>
 public Vector3 LookPosition(bool characterLookPosition)
 {
     if (m_Transitioner != null && m_Transitioner.IsTransitioning)
     {
         return(m_Transitioner.LookPosition(characterLookPosition));
     }
     return(m_ViewType.LookPosition(characterLookPosition));
 }