Esempio n. 1
0
 /// <summary>
 /// Returns the substate index that the item should be in.
 /// </summary>
 /// <returns>the substate index that the item should be in.</returns>
 public int GetItemSubstateIndex()
 {
     if (m_HasImpact)
     {
         return(m_ImpactAnimatorAudioStateSet.GetItemSubstateIndex());
     }
     return(-1);
 }
Esempio n. 2
0
 /// <summary>
 /// Returns the substate index that the item should be in.
 /// </summary>
 /// <returns>the substate index that the item should be in.</returns>
 public virtual int GetItemSubstateIndex()
 {
     return(m_UseAnimatorAudioStateSet.GetItemSubstateIndex());
 }