void Awake() { acceleration = new Cinematic(10f, jumpSpeed); y0 = transform.position.y; //Debug.LogError ("Y0=" + y0); platformerChar = GetComponent<PlatformerChar> (); }
void Awake() { acceleration = new Cinematic(10f, jumpSpeed); y0 = transform.position.y; //Debug.LogError ("Y0=" + y0); platformerChar = GetComponent <PlatformerChar> (); }