private void OnCollisionEnter(Collision2D collision)
{
Ground ground = gameObject.GetComponent<Ground> ();
Unit unit = gameObject.GetComponent<Unit> ();
if (unit.gameObject != parent || gameObject == ground)
{
Destroy (gameObject);
}
}