‰2017.3.0f3ţ˙˙˙˙˙›˝ZUMş†€#]tƒčď>Ov7€˙˙˙˙€Ś€˛€ЀŚ€Ś€Ś€#Ś€+H€3˙˙˙˙€1€1€˙˙˙˙@ހ€ Q€j€ ™€< H€H˙˙˙˙ €1€1€˙˙˙˙ @ހ€Q€j€Ő€U˙˙˙˙€1€1€˙˙˙˙Ŕހ€H€j€˙˙˙˙€1€1€˙˙˙˙@ހ€Q€j€™€\ހjAssetMetaDataguiddata[0]data[1]data[2]data[3]pathNametimeCreatedoriginalNamelabelsassetStoreReflicenseType ˙˙ŢšőRkVc}­j˘9Ź­;Ę7€˙˙˙˙€Ś€˛€ Ő€ ހ#€.€,€†€Ä€ ހ#€.€,€H€Ť€˙˙˙˙€1€1€˙˙˙˙ @ހ€ Q€j€ ń€5˙˙˙˙ €1€1€˙˙˙˙ €ހ€€j€˙˙˙˙€G›€˙˙˙˙€H€]˙˙˙˙€1€1€˙˙˙˙@ހ€Q€j€H€b˙˙˙˙€1€1€˙˙˙˙@ހ€Q€j€H€k˙˙˙˙€1€1€˙˙˙˙@ހ€Q€j€y€ € ހ#€.€,€Ő€p˙˙˙˙ €1€1€˙˙˙˙!Ŕހ€"€j€˙˙˙˙#€H€›€˙˙˙˙$€1€1€˙˙˙˙%@ހ€&Q€j€'y€ € (ހ#)€.€,*€ €„+@ž€“ ,@ހ#-€.€,.€H€˜˙˙˙˙/€1€1€˙˙˙˙0@ހ€1Q€j€2H€Ł˙˙˙˙3€1€1€˙˙˙˙4@ހ€5Q€j€6H€ľ˙˙˙˙7€1€1€˙˙˙˙8@ހ€9Q€j€:MonoImporterPPtrm_FileIDm_PathIDm_ExternalObjectsSourceAssetIdentifiertypeassemblynamem_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_IsEditorScriptLPDŕyŻ˜˙ŰĹa‡łK•S<é×86Assets/liiguparemale.csĘnÔZ liiguparemale‹using System.Collections; using System.Collections.Generic; using UnityEngine; public class liiguparemale : MonoBehaviour { public float kiirus = -0.1f; float samm; void Start () { samm = kiirus; Debug.Log("algus"); } private void OnCollisionEnter(Collision collision) { Debug.Log(collision.gameObject.name); if (collision.gameObject.name == "otsakuup") { samm = -kiirus; this.GetComponent().material.color = Color.green; } if (collision.gameObject.name == "alguskuup") { samm = kiirus; this.GetComponent().material.color = Color.red; } } void Update () { transform.position = new Vector3(transform.position.x + samm, transform.position.y, transform.position.z); if (Input.GetKeyDown(KeyCode.A)){ this.GetComponent().material.color = Color.yellow; GameObject.Find("alguskuup"). GetComponent().material.color = Color.yellow; } if (Input.GetKeyDown(KeyCode.Mouse0)) { Ray kiir = Camera.main.ScreenPointToRay(Input.mousePosition); RaycastHit hit; if (Physics.Raycast(kiir, out hit, 100)) { hit.collider.GetComponent().material.color = Color.blue; } } } } liiguparemaleAssembly-CSharp.dll