public void PlayerAttack() { Dynamic cDynamic = m_objPlayer.GetComponent <Dynamic>(); cDynamic.Attack(); }