private void Awake() { this.movementContainer = GetComponent <BoxCollider2D>(); this.hitBoxCollider = this.hitbox.GetComponent <BoxCollider2D>(); this.triggerController = this.trigger.GetComponent <TriggerController>(); this.mover = new CoroutineMover(this.animationCurve, this.rock); }
private void Awake() { this._mover = new CoroutineMover(animationCurve, this.gameObject); }
// // Lifecycle // private void Awake() { this._mover = new CoroutineMover(animationCurve, this.gameObject); this._hitbox = this.hitboxContainer.GetComponent <BoxCollider2D>(); }