Skip to content

Instantly share code, notes, and snippets.

View Dysp's full-sized avatar

Bo Kelly Dysp

  • GSD88
  • Copenhagen, Denmark
View GitHub Profile
using UnityEngine;
using System.Collections;
public class PlayerController : MonoBehaviour {
Rigidbody2D rbody;
Animator anim;
public float maxSpeed = 10;
public float walkSpeed = 2;
Prawn::Errors::CannotFit: Prawn::Errors::CannotFit
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/prawn-2.1.0/lib/prawn/text/formatted/line_wrap.rb:199:in `update_output_based_on_last_fragment'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/prawn-2.1.0/lib/prawn/text/formatted/line_wrap.rb:190:in `fragment_finished'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/prawn-2.1.0/lib/prawn/text/formatted/line_wrap.rb:112:in `block in add_fragment_to_line'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/prawn-2.1.0/lib/prawn/text/formatted/line_wrap.rb:96:in `each'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/prawn-2.1.0/lib/prawn/text/formatted/line_wrap.rb:96:in `add_fragment_to_line'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/prawn-2.1.0/lib/prawn/text/formatted/line_wrap.rb:81:in `block in apply_font_settings_and_add_fragment_to_li
ne'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/prawn-2.1.0/lib/prawn/text/formatted/arranger.rb:243:in `apply_font_size'
from