public void AnimationTest(string aniName) { if (m_character == null) { return; } AnimationList aniList = m_character.GetComponent <AnimationList>(); aniList.PlayAnimation(aniName); }