public void onEnter(DIR dir, Vector3 forceDir, Hero hero) { if (!this.enabled) return; this.forceDir = forceDir; hero.blockHero(heroTimeBlocked); moving = true; rigidbody.velocity = forceDir * pushForce; destinationPosition = transform.position + forceDir * moveDistance; }