Ejemplo n.º 1
0
 private void Start()
 {
     _facingDirection = 1;
     _defaultGravity  = ComputeDefaultGravity();
     _jumpVelocity    = ComputeJumpVelocity();
     _controller      = GetComponent <PlatformerController2D>();
 }