public bool Prepare() { if (bIsRecord) { m_StudyController = new StudyControllerFileRecord(m_HumenModelRef, m_HumenModel, m_strRefFileName); m_HumenModel.GetComponent <KinectManager>().enabled = true; } else { m_StudyController = new StudyControllerFileFile(m_HumenModelRef, m_HumenModel, m_strRefFileName, m_strFileName); } return(m_StudyController.Ready()); }