Quyidagi skriptlar foydali bo'lishi mumkin Rigidbody: public float speed = 100; public Transform obj; public void Update ((() { float h = Input.GetAxis ((("Horizontal"); float v = Input.GetAxis ((("Vertical"); Vector3 tempVect = new Vector3 (((h, v, 0); tempVect = tempVect.normalized * speed * Time.deltaTime; obj.transform.position += tempVect; } Rigidbody2D: public float speed = 100; public Rigidbody2D rb; public void Update (((((((((((((((((((((((((((((((((((((((((((((((((((
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence