void Start() { DeathEvent.ListenForPlayerDeathEvent(Die); DeathEvent.ListenForPlayerFallingEvent(DieByFalling); PlayerMoveEvent.Listen(MoveByEvent); cameraMain = Camera.main; rigidbody = GetComponent <Rigidbody2D>(); collider = GetComponent <BoxCollider2D>(); animator = GetComponent <Animator>(); torch = GameObject.FindWithTag(Constants.TORCH_TAG); SetDirection(); }