Skip to content

Instantly share code, notes, and snippets.

View luisferblink's full-sized avatar

Luis Gonzalez luisferblink

View GitHub Profile
#region Private Variables create a private variables to make secure your code and to access to the variable make a propierty of this variable
[SerializeField] private float damage;
public float Damage {
get{
return damage;
}
set{
if (value > 10)
damage = value;