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