private void Start()
 {
     actorComponent = GetComponent<Actor>();
     actorComponent.RegisterDeathListener(WasDestroyed);
 }