learn-python
learn-python copied to clipboard
π Playground and cheatsheet for learning Python. Collection of Python scripts that are split by topics and contain code examples with explanations.
Fixed #84
Added text to the comment to aid in better understanding the user input.
Hack
Pp/h1
using UnityEngine; public class Weapon : MonoBehaviour { public GameObject bulletPrefab; public Transform firePoint; void Update() { if (Input.GetButtonDown("Fire1")) { Shoot(); } } void Shoot() { Instantiate(bulletPrefab, firePoint.position, firePoint.rotation); }...
modified the test_generators.py to add more functions and enhanced code for learning, Thank you
This pull request addresses minor issues which focus on code readability Use descriptive variable names Employ proper commenting
this request contains some python training of changing and fixing identified problems in the python scripts for more robust scripts.