private float GetClipLength() { if (this.m_ClipInfo == null) { return this.m_Clip.length; } return ((this.m_ClipInfo.lastFrame - this.m_ClipInfo.firstFrame) / this.m_Clip.frameRate); }