private void Construct(IBubbleMovement movement, IBubbleAnimator animator, IBubbleView view) { this.movement = movement; this.animator = animator; this.view = view; collider = GetComponentInChildren <Collider>(); }
//[Inject] private void Construct(IBubbleView view, IBubbleMovement movement) { this.view = view; this.movement = movement; }