private void OnPlayerHit(SpaceInvadersPlayer playerHit)
        {
            m_lives--;

            // HACK also handles boss level player object
            if (playerHit != null)
            {
                playerHit.transform.position = new Vector3(0, playerHit.transform.position.y, playerHit.transform.position.z);
            }

            m_ui.SetLivesText(m_lives);
        }
 private void CreatePlayer( )
 {
     m_player = Instantiate(m_playerPrefab, m_playerContainer.transform.position, Quaternion.identity, m_playerContainer.transform);
     m_player.Init(new object [] { m_config.playerConfig });
     m_player.ActionPlayerHit = OnPlayerHit;
 }