static int Kills
{
get{
return kills;
}
set{
OnVarChange(kills,value);
kills = value;
}
}
Define a property for kills. Use this property to change value of kills. You can use set accessor of this property to call a method to detect change in variable kills.