a™5.5.1f1ž’’’’’Č0ÅņĆōL.`?^Ł0D7€’’’’€¦€²€Š€¦€¦€¦€#¦€+H€3’’’’€1€1€’’’’@Ž€€ Q€j€ ™€< ¦€H H€Z’’’’ €1€1€’’’’@Ž€€Q€j€Š€g¦€¦€¦€#¦€+v~ € €– €Ÿ €Ø €± €ŗ €Ć €Ģ €Õ €Ž  €ē! €ń" €ū# €$ €% €&Õ€#’’’’'€1€1€’’’’(€Ž€€)H€j€’’’’*€1€1€’’’’+@Ž€€,Q€j€-™€*.Ž€8/AssetMetaDataguiddata[0]data[1]data[2]data[3]pathNametimeCreatedoriginalChangesetoriginalNameoriginalParentHash128originalDigestbytes[0]bytes[1]bytes[2]bytes[3]bytes[4]bytes[5]bytes[6]bytes[7]bytes[8]bytes[9]bytes[10]bytes[11]bytes[12]bytes[13]bytes[14]bytes[15]labelsassetStoreReflicenseType ’’z{ļ@īČć5^(H'7€’’’’€¦€²€ Õ€ Ž€#.€,†€Ä€ Ž€#.€,H€«€’’’’€1€1€’’’’ @Ž€€ Q€j€ Õ€5’’’’ €1€1€’’’’ €Ž€€€j€’’’’€H€›€’’’’€1€1€’’’’@Ž€€Q€j€y€ € Ž€#.€, €I@¾€X @Ž€#.€,H€]’’’’€1€1€’’’’@Ž€€Q€j€H€h’’’’€1€1€’’’’ @Ž€€!Q€j€"H€z’’’’#€1€1€’’’’$@Ž€€%Q€j€&MonoImporterPPtrm_FileIDm_PathIDm_DefaultReferencesexecutionOrdericonm_UserDatam_AssetBundleNamem_AssetBundleVariants’’’8-l'€£ę„hŒĪA,Œ€7€’’’’€¦€²€Õ€ Ž€.€†€Ä€ Ž€.€H€«€’’’’€1€1€’’’’ @Ž€€ Q€j€ H€ź€’’’’ €1€1€’’’’ @Ž€€Q€j€ń€(’’’’€1€1€’’’’€Ž€€€j€’’’’€H€›€’’’’€1€1€’’’’@Ž€€Q€j€y€ € Ž€.€y€< Ž€.€Ž€CH€T’’’’€1€1€’’’’ @Ž€€!Q€j€"H€`’’’’#€1€1€’’’’$@Ž€€%Q€j€&H€l’’’’'€1€1€’’’’(@Ž€€)Q€j€*L€{+PPtrm_FileIDm_PathIDm_DefaultReferencesm_Iconm_ExecutionOrderm_ClassNamem_Namespacem_AssemblyNamem_IsEditorScripttx@ąyÆøį“ŪŃō‘4¬K„šNQk›&ęAssets/skriptid/Player.css$ÉXPlayerxusing System.Collections; using System.Collections.Generic; using UnityEngine; public class Player : MonoBehaviour { private Rigidbody2D rb2d; public float speed; public float maxSpeed=10; private SpriteRenderer sr; private Animator anim; void Start () { rb2d = gameObject.GetComponent (); sr = gameObject.GetComponent (); anim = gameObject.GetComponent (); } void Update () { anim.SetFloat ("speed", Mathf.Abs (Input.GetAxis ("Horizontal"))); Flip (); } void FixedUpdate(){ float h = Input.GetAxis ("Horizontal"); float v = Input.GetAxis ("Vertical"); rb2d.AddForce (Vector2.up * v * 10); rb2d.AddForce (Vector2.right * h*speed); if (rb2d.velocity.x > maxSpeed) { rb2d.velocity = new Vector2 (maxSpeed, rb2d.velocity.y); } if (rb2d.velocity.x < -maxSpeed) { rb2d.velocity = new Vector2 (-maxSpeed, rb2d.velocity.y); } if (Input.GetKeyDown (KeyCode.Space)) { rb2d.AddForce (Vector2.up * 100); } } void Flip(){ if (Input.GetAxis ("Horizontal") > 0) { sr.flipX = false; } else if (Input.GetAxis ("Horizontal") < 0){ sr.flipX = true; } } } PlayerAssembly-CSharp.dll