/// <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); }
/// <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()); }